How to set the BusinessKey later not in the beginning

@hahi You can add the ExecutionListener or JavaDelegate to the service to set the businessKey.

@Component
public class BusinessKeyGenerateDelegate implements JavaDelegate {

	@Override
	public void execute(DelegateExecution execution) throws Exception {
		execution.setProcessBusinessKey("businessKey");
	}

}
1 Like