Hi,
The requirement is that, I need to trigger a workflow based on a condition ,if the condition is true then WF 1 has to be triggerred if not then WF2 has to be trigerred, the requirement is that i need to implement check FMs for this, can anybody send me sample code on how to do this? and give me the step by step approach of how to configure this in the transaction SWETYPV and SWB_COND. please its urgent.
Regards
Narendiran Rathinavelu
Hi Naren,
U donot need to make a new entry in the view for the tcode SWETYPV.When u create a test workflow in tcode pftc u have one of the tabs for triggering the workflow select tht tab and enter the triggering event and the BOR object.Activate it.
When you do that u will automatically get an entry in the tcode SWETYPV.
Hope this helps.
Please reward useful answers.
Regards,
Shrita.
Hi,
First create the two workflows. When you create a workflow if the WF is error free an automatic entry is made in the view of the tcode SWETYPV . now goto the tcode SWB_COND here goto the dropdown business objects and select all object types and then click the button in the application toolbar create new start condition.when u do that a new screen appears.Here u will find all the workflow templates.Click the template which u want to add a new condition to trigger.when u click it a new screen appears here u add the condition to trigger the workflow.
Hope this helps.
Reward useful answers.
Regards,
Shrita.
Add a comment