Get Lifecycle tasks programatically

edited May 18 in AppWorks
I need to complete current state task of an entity instance programatically, using html5 sdk.
Is there a way to get the task given the lifecycle instance identifier, please advise:
$.cordys.workflow.getTasks({ parameters: { TaskIdentifiers: { TaskIdentifierType:
                            { "@id": "000C29F4-D700-A1EA-A640-9099FAE6C372"  } } }}).
                                done(function(tasks) { console.log(tasks); });


Sign In or Register to comment.