Question:
Hi,
We have a deadline monitoring for our workflow. If a workitem is not processed in 5 days then Subworkflow is called.The subworkflow is a replica of the main workflow with just an addition of one more send mail step.I have got a same wait for Event( Approved) in both main and sub workflows.
This event is triggerred from an RFC FM based on the decision taken .
Now the problem is when the dead line monitoring becomes active (no action taken for 5 days). then the subworkflow is called and then event approved is triggerred from RFC FM.but then, even the main workflow resumes its course as well as subworkflow. I have tried very much to stop the main workflow getting resumed, but in vain. is there any possible way to handle this.As a last effort i am thinking of having 2 separate events rather than single 'Approved' for main and sub workflow and trigger them using a condition in RFC. is this a better alternative to this?
_________________
Chenna
Answer:
Hi Chenna,
try to raise exception, if both workflow is runnning at time,
I think that check FM also can be used for this. this check FM can be made using TYxn. SWETYPV.
well i am not 100% sure that this will resolve the problem, but might be helpful for you. let me know if u find another way to solve the problem.
Cheers
Please Resolve
Answer:
I have added new events for the BO and trigger these events when subworkflow is active
_________________
Chenna