Solved
How to set worfklow end time in AEM6.5
I need to set the workflow end date and time in node.
like how I am setting the worfklow initiator name:
String workflowInitiator = workItem.getWorkflow().getInitiator();
if (node.hasNode("jcr:content")) {
node.getNode("jcr:content").setProperty("InitiatedBy", workflowInitiator);
}
How to set the workflow end time.
Thanks