Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone help regarding workflow condition ?

Former Member
0 Kudos

hi all,

i am new to workflows...........

i want to know how to specify a condition in the condition field of an event.

actually the requirement is like that i have to trigger the workflow if a field modifies or a new entry is entered in that field at th UI of CRM.

can anyone help that how to specify this type of condition?

thanks and regards.

raman.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Raman,

To create an event you can go to SWEC transaction and create an event.

For example if i have to create an event when a sales document is created,

go to SWEC, click on new entries, in the change doc. object select " SALES DOCUMENT ".

Select BOR object type for object category, Object Type BUS2032 (BOR Object) and event as Created.

Select the on create radio button and save.

Now coming to SWDD (workflow builder), go to basic data (button with hat symbol) and there go to start events.

Enter the object category as BO and object type BUS2032 and the event as CREATED. Do not forget to activate the event.

click on the binding button and check if the event is passing data to the workflow.

Coming to the conditions button, when you click it it will open up a window. There you can see a window on the right side having the event container elements (EXPRESSION 2) and their descriptions. double click on the element and it will be displayed on the left side. Then select an operator from the left side window. After that in Expression 2 (which will be the comparison value) you can either select a container element or give a constant value (go to the constant input field just below the logical operators).

Hope this was helpful.

3 REPLIES 3

Former Member
0 Kudos

Hi Ramana,

Check this link for Single Condition. :

http://saptechnical.com/Tutorials/Workflow/ConditionStep/Condition.htm

Check this link for Multiple Conditions :

http://saptechnical.com/Tutorials/Workflow/MultipleCondition/MultipleCondition.htm

Regards,

Swapna.

Former Member
0 Kudos

Hi Raman,

To create an event you can go to SWEC transaction and create an event.

For example if i have to create an event when a sales document is created,

go to SWEC, click on new entries, in the change doc. object select " SALES DOCUMENT ".

Select BOR object type for object category, Object Type BUS2032 (BOR Object) and event as Created.

Select the on create radio button and save.

Now coming to SWDD (workflow builder), go to basic data (button with hat symbol) and there go to start events.

Enter the object category as BO and object type BUS2032 and the event as CREATED. Do not forget to activate the event.

click on the binding button and check if the event is passing data to the workflow.

Coming to the conditions button, when you click it it will open up a window. There you can see a window on the right side having the event container elements (EXPRESSION 2) and their descriptions. double click on the element and it will be displayed on the left side. Then select an operator from the left side window. After that in Expression 2 (which will be the comparison value) you can either select a container element or give a constant value (go to the constant input field just below the logical operators).

Hope this was helpful.