Code: Select all
var parentWIs = workitem.getLinkedWorkItemsDirect();
for (var parents = parentWIs.iterator(); parents.hasNext();)
var parent = parents.next();
var availableActions = parent.getAvailableActions();
I'm currently receiving an error in the dialog window as follows,
'Reject' failed for Work Item 'XXXX': Inconsistent configuration, call WorkflowConfig.verify()
Due to which I'm unable to run my script. What is the cause of this ? Is there any other way to access the linked work item to change it's due date ?