Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Make an jquery ajax call to a sling servlet which further call the workflow through API
Refer to example below.
Adobe Experience Manager Help | Invoking Adobe Experience Manager Workflows using the AEM Java API
You must also look into solution by smacdonald2008
There are only 2 methods (not counting the Deprecated one) exposed in the WorkFlowSession Class that starts a workflow:
Workflow | startWorkflow(WorkflowModel model, WorkflowData data) Start a new Workflow instance with the given and . |
Workflow | startWorkflow(WorkflowModel model, WorkflowData data, Dictionary<String,String> metaData) Deprecated. It's recommended to use #startWorkflow(WorkflowModel, WorkflowData, Map instead. |
Workflow | startWorkflow(WorkflowModel model, WorkflowData data, Map<String,Object> metaData) Start a new Workflow instance with the given , and meta data . |
Therefore you need a WorkflowModel and data,
In your use case - you need these as input - else it will not work.
Zugriffe
Antworten
Likes gesamt
Go to http://localhost:4505/libs/cq/workflow/admin/console/content/models.html
select the model and start workflow.
Zugriffe
Antworten
Likes gesamt
Thank you for the suggestion but am trying to access it by using jQuery
Zugriffe
Antworten
Likes gesamt
Make an jquery ajax call to a sling servlet which further call the workflow through API
Refer to example below.
Adobe Experience Manager Help | Invoking Adobe Experience Manager Workflows using the AEM Java API
You must also look into solution by smacdonald2008
There are only 2 methods (not counting the Deprecated one) exposed in the WorkFlowSession Class that starts a workflow:
Workflow | startWorkflow(WorkflowModel model, WorkflowData data) Start a new Workflow instance with the given and . |
Workflow | startWorkflow(WorkflowModel model, WorkflowData data, Dictionary<String,String> metaData) Deprecated. It's recommended to use #startWorkflow(WorkflowModel, WorkflowData, Map instead. |
Workflow | startWorkflow(WorkflowModel model, WorkflowData data, Map<String,Object> metaData) Start a new Workflow instance with the given , and meta data . |
Therefore you need a WorkflowModel and data,
In your use case - you need these as input - else it will not work.
Zugriffe
Antworten
Likes gesamt
Great answer!
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten