Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.5 Restrict workflow initiation on assets in assets console

Avatar

Avatar
Validate 50
Level 6
cquser1
Level 6

Likes

75 likes

Total Posts

313 posts

Correct Reply

15 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Give Back 50
View profile

Avatar
Validate 50
Level 6
cquser1
Level 6

Likes

75 likes

Total Posts

313 posts

Correct Reply

15 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Give Back 50
View profile
cquser1
Level 6

08-09-2019

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.

Workflow timeline.png

arunpatidar26​ Any sample code/reference will be helpful.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,357 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,357 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

08-09-2019

please check sample code at Make workflow title field mandatory

Answers (1)

Answers (1)

Avatar

Avatar
Validate 50
Level 6
cquser1
Level 6

Likes

75 likes

Total Posts

313 posts

Correct Reply

15 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Give Back 50
View profile

Avatar
Validate 50
Level 6
cquser1
Level 6

Likes

75 likes

Total Posts

313 posts

Correct Reply

15 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Give Back 50
View profile
cquser1
Level 6

09-09-2019

Hi Arun Patidar​,

Thank you. That helped.