on 03-25-2010 9:28 AM
Hi,
I'm trying to do checkin and rollback of workflow via Java API.
I.e checkin a product in worfklow task with status Received.
I assume I need (in java code) WorkflowTaskAction (Delete) to do this, but when I extract this action and try to get the actionparameters null is returned:
WorkflowActionMenuNode[] wfMenuNode = actions[j].getActionParameters();
--> null
How can I specify that I wan't to do a rollback or checkin and not just do a Delete?
I use MDM SP5 so I can't use DeleteWorkflowJobCommand.
Best Regards
Olof
Hi,
I have not tried by Java API code, so can't help much. But I think You can Check-in or Rollback a checked-out product in workflow at workflow Stop step.
I feel, Workflow Task action delete is to delete the workflow Task. Try Workflow Task Action as corresponding to Next Step Task action and get action parameters. At last execute action "STOP".
In case you have missed, Please go through Java API guide on Page no 58 (Processing Workflows) and page no 78 (Code Samples for Workflow Processing). This will help you.
[Java API Guide|http://help.sap.com/saphelp_nwmdm71/helpdata/en/72/d36e1ed3ce43028adc851b8fed5668/MDM_Java_Net_API_Guide.pdf]
Regards,
Shiv
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.