Is it possible to run a custom Workflows Event from the List of Tasks, not from the details?
I tried already to run FormEngine Event:
dispatch(
FormEngineActions.event({
activityId: activity.id,
engineEvent: { type: rowAction?.event }
})
);
which gives me the error: " EngineState cannot be assembled for the activity 1." I guess it is because the model is not loaded to the activity.
I also tried to call the custom event manually. In this case I see neither errors nor RPC Requests:
dispatch(
WorkflowsActions.processEvent.started({
eventName: 'PROCESS_EVENT_FRAGEBOGEN_LOESCHEN',
eventType: 'message',
processInstanceId: processInstanceId,
shouldCompleteCurrentTask: false,
activity: {
...activity,
dataHolders: [
{
...activity.dataHolders[0],
data: {
document: data.documents[0],
completeTask: false
},
}
]
}
})
);
Thank you.