Hi @bagwanpankaj,
If you're launching the workflow programmatically (e.g., via servlet, form, or workflow package), you can add validation logic in your custom code:
if (payloadPath.startsWith("/content/xyz/")) {
workflowSession.startWorkflow(model, workflowData);
} else {
throw new Illegal...