Hi @s1101v
Trigger the workflow from the Sites or Assets UI (e.g., /sites.html or /assets.html), where AEM attaches the payload automatically.
Launcher or Custom Code Missing Payload Injection
If you're triggering the workflow programmatically (e.g., via servlet, workflow launcher, or custom service), make sure the payload is explicitly set in code:
WorkflowData data = workflowSession.newWorkflowData("JCR_PATH", payloadPath);
workflowSession.startWorkflow(model, data);
If this is missing, the workflow will start without any payload.
Permissions
If the user/service triggering the workflow does not have adequate permissions on:
then the payload may silently fail to attach.
Ensure the user/service account has at least:
jcr:read, jcr:modifyProperties on the payload
Write access to /var/workflow/instances and related paths
Hope this helpful.
Regards,
Karishma.