Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Auto complete Background Task

$
0
0

Hi guys,

 

I have a custom workflow which has some performance issues so I am now re-designing it, in the process i am faced with an issues. Please give suggestions.

 

Basically I start a workflow and send an email to a user telling then to go on teh portal and approve a work item. I have created a webdynpro application which has a button approve. On clicking the button i do my processing and in the end i use the WAPI * GET, SET and COMPLETE Function modules to complete the WI. I basicaly dont want to send teh WI to the user inbox as it is killing performance on the inbox.

 

My Issues is that even thou i am using FM compel the WI is always IN PROCESS, when i debug i see that the status is not set to complete because the user is not the actual agent, so this is a background TASK so WF-BATCH should take care on thing but its not, why?

 

How else can I restrict a WI from going into inbox without making it a background task?

In SAP_WAPI_SET_WORKITEM_COMPLETED it checksf for Inbox restriction but i cannot findout where that is done.


Viewing all articles
Browse latest Browse all 8451

Trending Articles



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