Skip to Content
Former Member
Nov 30, 2009 at 11:38 AM

Step (BackgroundTask) has status "error"


Hi experts,

I have created a step in my workflow definition where the status of the document should be changed from "To be approved" into "Open XY". For this step I created a task with bus objekt BUS2000115 CRM Sales Transaction and method UserstatusSet.

I have bound the parameters within the method binding and passed the status to the method but if I am executing the workflow (create a sales doc) I receive an ERROR and the message is that the Status E0004 is not allowed (my Z - status within my Z - Statusprofile!)

BUT if I use my delegated BUS-Object (ZBUS2000115) within the task I don't receive an error but the task (as I said defined as background task and without user assignment) is in status "in process". I can't edit the task/workitem because no one receives it.

I need your help in changing the status of a document! Thanks a lot!

Best regards

Edited by: Natali Rubino on Nov 30, 2009 12:40 PM