How to get the value from the custom widget in custom workflow step? | Community
Skip to main content
mikezooz
New Participant
October 16, 2015
Solved

How to get the value from the custom widget in custom workflow step?

  • October 16, 2015
  • 2 replies
  • 1048 views

Hi All,

I am creating the custom workflow for activate/ Deactivte later workflow.

so i have created a custom workflow step, which added datetime widget to get the value from the author.

Now authors can select the date and time from the widget, but the value is not save in workflow metadata node.

could you please tell me how to save the value in metadata?  

in addition

i have added NAME property in the dialog still the value is not save in metadata node

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.
Best answer by Runal_Trivedi

It depends how you have specified the xtype in the dialog of workflow step.

If it is name property of widget in dialog is like ./jcr:content/propname then it gets stored on payload itself with the propname mentioned.

If you want to store it as part of metadata node of workitem then the name property of widget should be simply like - propname

for more reference see http://docs.adobe.com/docs/en/cq/5-5/workflows/wf-ref.html#Dialog%20Participant%20Step

- Runal

2 replies

Runal_Trivedi
Runal_TrivediAccepted solution
New Participant
October 16, 2015

It depends how you have specified the xtype in the dialog of workflow step.

If it is name property of widget in dialog is like ./jcr:content/propname then it gets stored on payload itself with the propname mentioned.

If you want to store it as part of metadata node of workitem then the name property of widget should be simply like - propname

for more reference see http://docs.adobe.com/docs/en/cq/5-5/workflows/wf-ref.html#Dialog%20Participant%20Step

- Runal

WhoaShekhar
New Participant
October 16, 2015