AEM 6.5 Restrict workflow initiation on assets in assets console | Adobe Higher Education
Skip to main content
cquser1
Level 7
September 8, 2019
Beantwoord

AEM 6.5 Restrict workflow initiation on assets in assets console

  • September 8, 2019
  • 2 reacties
  • 2144 Bekeken

Hi All,

For an asset placed under DAM[say http://localhost:4502/assets.html/content/dam ], for which certain mandatory metadata fields are not provided, we want to prevent user from triggering a workflow from timeline[i.e, on click of "Start" in timeline it should throw alert workflow cannot be started due to mandatory fields not filled and workflow should not get initiated]

Any thoughts on how to do this will be really helpful. Tried looking for some reference code, but could not find any.

Any pointers/reference code will be really helpful.

Below is timeline pic in bottom left corner in http://localhost:4502/assets.html/content/dam from where workflow is initiated, after selection of asset.

arunpatidar26​ Any sample code/reference will be helpful.

Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door arunpatidar

please check sample code at Make workflow title field mandatory

2 reacties

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAntwoord
Community Advisor
September 8, 2019

please check sample code at Make workflow title field mandatory

Arun Patidar
cquser1
cquser1Auteur
Level 7
September 9, 2019

Hi Arun Patidar​,

Thank you. That helped.