Get Lifecycle tasks programatically

d_farouk
edited May 18, 2020 in AppWorks #1
Hi,
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); });

Comments