Issue while setting custom metadata

Avatar

Avatar
Validate 1
Level 1
ani_rvce
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
ani_rvce
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
ani_rvce
Level 1

15-10-2015

Hi All

I am working on CQ workflows to add metadata via dialog participant step. In my dialog I am adding a field with name="mycustomdata". When I submit the workflow step- I do not get it stored in the metaData instead it goes under history. So I can not get this data in the next step. 

I tried to change the name like- name="./metaData/mycustomdata" but this gives constraintViolation error and the data is not stored anywhere.

javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {} mycustomdata

The Adobe documentation reflects that we can store data to workflow node via dialogs and get it in any next subsequent steps. can someone guide me how to achieve this.

Thanks in advance

Anand

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

15-10-2015

You can use the JCR API in a custom workflow step to get node props. Write a custom workflow step to get the value of a specific nodes property. 

Answers (0)