on 11-20-2008 9:47 AM
Dear All,
I need to maintian start conditions in custom workflow for shopping cart approval.
The condition is that the workflow should be trigerred only when the shopping cart value is greater than 1000 USD.
How to maitnain the same? I am already in GOTO --> BASIC SETTINGS --> START CONDITIONS
Advance Thanks
Hi Samet,
Do u have any Business Object created for Shopping Cart Approval. if yes, den find 1 attribute in that BO which corresponds to the shopping Cart Value.
when u go to start event from basic data:- u can see A ...B...C...where a is for active binding linkage...B is for binding and C is for giving start condition...
click on C..to enter start condition..there u wll find an attribute for the value ...
BOAttribute for value > 1000 USD.....give your condition like this by selecting from that screen..
let me know if u r facing any problem
With Best Regards,
Kanika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the replies.
I have already maintained these simple start conditions and it works well.
But my requirement is to check some complex start conditions which can be done probably in a function module.
Do anyone know the use of receiver function module, check function module & receiver type function module? Can any one of these used to maintain complex conditions for start conditions of workflow. If so, any example code?
Thanks...
Hello,
One of the ways is
- create a business object with super object a standard (ZBUS2121 as a sub-object of BUS2121 in case of SC)
- create a new attribute in this ZBUS2121 and code all the logic you want
- use this attribute to in SWB_COND..
For ex: you can create this attribute as CHAR2 field and write your own logic and in SWB_COND you can set up conditions like these:
Attribute = 01 --> 1step
Attribute = 02 --> 2 step
.....
Rgds,
Prasanna
Hello Sameet,
Depending on workflow you want to use for your SC approval, maintain your starting conditions for this workflow in transaction SWB_COND.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.