Hi, I'm trying to chagne the workflow state to 'pending' from another state such as 'released'. I'm using a custom action to do this. The code is below:
IWorkflow  wfs = change.getWorkflows();
IWorkflow wf = wfs;
String wF = wf.toString();
IStatus  sts = wf.getStates();
IStatus state = sts;
String State = state.toString();
change.changeStatus(state, true, "", false, false, new Object, new Object, new Object, false);
Every time I try to run the process extension I get the error message below:
Error code: 60104
Error message: See multiple root causes.
Root Cause exception: com.agile.pc.cmserver.base.AuditException
I'vea lso tried changing the status to the next workflow state and I get the same error. Can anybody explain why this is happening and how to fix it ?
I have a similar requirement. But,
We are Integrating BPM Human Task with External ADF UI.
In UI we have Submit and Cancel.
So where Should we route or give the Out come. As per my understanding in UI then When We click on Submit in ADF Screen which is called or invoked by using BPM Human Task. The status has to be updated in Database.