on 09-18-2020 8:46 AM
Hello ,
I have a requirement in which i have created one step in workflow and ABAP class and method is used,
and these step will call a method which has logic to fetch data from custom table
if data is found have to return success message
if data not found , error message has to return and stop the pipeline and next time from that specific step where it had failed have to retrigger.
Please let me know how to fail workflow step on no data found and how can i reprocess it again .
Triggering workflow and retrigger the step all have to be done through ABAP Report that user can reprocess on getting return error message.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my case when I designed the task I made the task as background task in your screen shot I see that the image is a foreground or a dialog task. in this case I guess it might not work. I need to check. However, in the mean time can you check by refreshing the buffer SWU_OBUF transaction and click shift+f1 to refresh and again reopen the worklfow if in case you added this exception after my suggestion.
Hi Pavan,
As you said i refreshed and its reflecting now even without background processing enabled,
now one question , as i am triggering this workflow from ABAP Report program , if workflow reach to the wait step , do i need to call another report for further action? or do we have option to accesses same thin from one report itself.
if i trigger workflow from ABAP report and as soon as it reach to WAIT step can i get the response within same report and allow to to rexecute the previous step again ?
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.