Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

How to find correct user decision step and complete it?

$
0
0

Hello All and Gurus! My question is not as complex, as difficult for me from logical point of view:
I have to develop one thing:
1. Create a user-decision task in a big workflow, to inform user, that process that was asked on the previous step was run and we are waiting for the result(the whole workflow should wait for it).
2. When custom function is finished(not in workflow), and files are attached to the BO, user-decision step from p.1 should be executed automatically with status "success".

 

I know about function SAP_WAPI_DECISION_COMPLETE, but I don't know how to transport WORKITEM_ID to a Custom code, that was not executed in workflow? And how decide for which BO user-decision should be executed(in case we have several similar waits for different BOs)?

 

 

Could you please suggest something? Other variants are also possible (may be send letter and wait for event, when attached- raise event)


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>