AEM Cloud Post Processing workflow Request params | Community
Skip to main content
rsl_lucky
Level 4
November 14, 2023

AEM Cloud Post Processing workflow Request params

  • November 14, 2023
  • 2 replies
  • 1522 views

Hi All,

Have a requirement to capture request params sent from front-end after hitting end point URL to upload asset onto Cloud. In post processing workflow need to capture & process custom metadata update on assets which are sent as request params, how can we capture those which are set in request.

Thanks in Advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
Community Advisor
Community Advisor
November 14, 2023

Hi, @rsl_lucky

you can set those param as properties in Asset/metadata node and read it in the workflow. 

Arun Patidar
rsl_lucky
rsl_luckyAuthor
Level 4
November 14, 2023

Hi @arunpatidar , asset upload is happening by hitting end point of 3-step process i.e. 1).initiateUpload.json  2)URI call  3).completeUpload.json from front-end. Once upload complete post processing happen.

While hitting end point from front-end, request params are sent and corresponding values of asset are sent. Need to capture those request params.

Could you share inputs here or any thoughts on how this could be handled ?

rsl_lucky
rsl_luckyAuthor
Level 4
November 15, 2023

Hi @rsl_lucky 
Yes, after uploading assets, you make another call to update metadata meanwhile workflow processor will wait.
Just make sure this processing workflow does not wait for forever, because you may need this metadata for all of the assets. Just handle it using max wait time.


Hi @arunpatidar, ok will make another call to update metadata of assets.

Not clear about workflow processor wait time mentioned above can you share more info towards it.

 

kautuk_sahni
Community Manager
Community Manager
November 15, 2023

@rsl_lucky  Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni