Dear Team,
I had defined the workflow in such a way that, the service task(java delegate) generates a uniquid. This Id needs to be populate in the downstream user task’s embedded form field. Please guide me how can I achieve this. Below is the delegate class code.
public void execute(DelegateExecution execution) throws Exception {
// TODO Auto-generated method stub
String campaignId = (String) execution.getVariable("input");
System.out.println("campaignId Before Execution:::"+campaignId);
campaignId = (String)generateCampaignId();
execution.setVariable("input", campaignId);
//Execution.
}