Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Mario248
There is no direct way to do this, however we can brainstorm on the options available. If the workflow is to be approved outside AEM, we can explore Rest HTTP API for Workflows, just like we have for Assets HTTP API
Please find few curl commands below:
Hi @Mario248 ,
Yes, you got the approach, you can create a custom servlet to handle the action and authenticate the user. You can use the AEM Oauth2 framework to authenticate the user and then use the Workflow Session API to approve the workflow,
So, in our case once the user has approved the workflow, you can send a confirmation email to the user to let them know the workflow has been approved
Could you please clarify two things?
1) How to authenticate the user ? User just clink the link on the email and we dont have password for them ? Is there any api to authenticate ?
2) How to approve the workflow ? Can you tell me what API should be used to approve the workflow ?
Hi @Mario248
There is no direct way to do this, however we can brainstorm on the options available. If the workflow is to be approved outside AEM, we can explore Rest HTTP API for Workflows, just like we have for Assets HTTP API
Please find few curl commands below:
Hi @Mario248
You can use service credentials to securely authenticate to AEM. AEM’s Developer Console grants access to Service Credentials, which are used to facilitate external applications, systems and services to programmatically interact with AEM Author or Publish services over HTTP.
I would suggest you to keep the things simple and use AEM Inbox & email notifications and allow the approvers to login to AEM to approve or reject the request.
Hope this helps.
Thanks for sharing the docs. This https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/a...integration handles by front end. Do we have any documentation for backend integration ?
Views
Likes
Replies
Views
Likes
Replies