I have written a method which is called in background activity step to execute a User decision step. I have used SAP_WAPI_DECISION_COMPLETE fm and have given the value for parameters like Workitem ID , Decision Key.
So the problem is when it is being run in foreground its working fine.
But when it is in background there is no change in the status of user decision step.
Kindly give inputs.
Thanks & Regards