Expand my Community achievements bar.

SOLVED

Please help , what's wrong with "Dialog Path" property of my "Dialog Participant Step"?

Avatar

Former Community Member

Please help , what's wrong with "Dialog Path" property of my "Dialog Participant Step"?
first I can't modify it to dialog level like the doc(http://dev.day.com/docs/en/cq/current/workflows/wf-ref.html) mentioned that "The following value is used for the Dialog Path property: /etc/workflow/dialogs/EmailWatch/dialog" , but only I can set it to "/etc/workflow/dialogs/myComponent" like this. Below is myComponent json format:


{"jcr:createdBy":"vi.lang","allowedParents":["*/parsys"],"jcr:created":"Mon Oct 14 2013 02:36:27 GMT-0700","jcr:primaryType":"cq:Component","dialog":{"title":"Video Approval Dialog","xtype":"dialog","jcr:primaryType":"cq:Dialog","items":{"jcr:primaryType":"cq:WidgetCollection","common":{"title":"Common","jcr:primaryType":"cq:Panel","items":{"jcr:primaryType":"cq:WidgetCollection","isApproval":{"fieldLabel":"Video Approval","xtype":"selection","name":"./metaData/isApproval","allowEmpty":"false","type":"select","value":"yes","jcr:primaryType":"cq:Widget","fieldDescription":"Whether to approve","options":{"jcr:primaryType":"cq:WidgetCollection","yes":{"value":"yes","jcr:primaryType":"nt:unstructured","text":"Yes"},"no":{"value":"no","jcr:primaryType":"nt:unstructured","text":"No"}}}}}}}}

Another question is the doc ( http://dev.day.com/docs/en/cq/current/workflows/wf-ref.html) mentioned an example of EmailWatch component , where can I find the example ?

1 Accepted Solution

Avatar

Correct answer by
Level 10

I dragged a Dialog Participant Step onto my Workflow model and clicked the Dialog tab:

[img]ABox1.png[/img]

Now to drill down to the node in CQ that you want (that represents the dialog you want) -- you click the Search icon - this brings up the Select Path dialog that lets you drill down in the CQ JCR:

[img]ABOX2.png[/img]

The Dialog Path property is the path to the cq:Dialog node of the dialog you want to use. So you drill down into the JCR to locate the dialog. You have to know where its located. If for example, you placed it under apps/myapp/components/page/dialog - you have to drill to this location.  

The EmailWatch compponent is not an out of the box CQ component -- it is an example used for this doc topic. 

When you say you cannot modify the Dialog Participant Step - do you mean that you cannot get to the Select Path dialog that appears (the 2nd pic above)

View solution in original post

6 Replies

Avatar

Level 10

I agree it does not allow to select dialog node, But Please specify the path in the textbox. ex:-  /apps/widgets/components/content/Samplecomp/dialog

Avatar

Correct answer by
Level 10

I dragged a Dialog Participant Step onto my Workflow model and clicked the Dialog tab:

[img]ABox1.png[/img]

Now to drill down to the node in CQ that you want (that represents the dialog you want) -- you click the Search icon - this brings up the Select Path dialog that lets you drill down in the CQ JCR:

[img]ABOX2.png[/img]

The Dialog Path property is the path to the cq:Dialog node of the dialog you want to use. So you drill down into the JCR to locate the dialog. You have to know where its located. If for example, you placed it under apps/myapp/components/page/dialog - you have to drill to this location.  

The EmailWatch compponent is not an out of the box CQ component -- it is an example used for this doc topic. 

When you say you cannot modify the Dialog Participant Step - do you mean that you cannot get to the Select Path dialog that appears (the 2nd pic above)

Avatar

Former Community Member

The created dialog(/etc/workflow/dialogs/videoApproval/dialog) may has some problems, click the Search icon,can not choose to go to this cq:Dialog node

[img]20131022-01.PNG[/img]

 

[img]20131022-02.PNG[/img]

Avatar

Level 10

Can you specify the path in the textbox as Sham suggests? 

Avatar

Former Community Member

Very thankful, i have specify the path in the textbox, but there is a problem, the dialog look and see when I'm editing different, how to adjust it?

[img]20131022-03.PNG[/img]

[img]20131022-04.PNG[/img]