Highlighted

Using event Listeners in Workflow Dialog

Avatar

Avatar

rohits64600205

Avatar

rohits64600205

rohits64600205

19-03-2018

Hi,

I have a custom Date field in workflow dialog box which needs to be shown and hidden based on the next step field selection. Can anyone please guide how we can add listener. I tried same as authoring dialog listeners but it didn't worked. I am using AEM 6.3

Replies

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

969

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

969

Correct Answer

1.1K
kautuk_sahni
Community Manager

21-03-2018

Please check this article for hiding/showing Toggle fields based on selection in Granite UI dialogs - Adobe AEM Club

For custom Validation you can write a custom validator foundation-validation — Granite UI 1.0 documentation

Highlighted

Avatar

Avatar

rohits64600205

Avatar

rohits64600205

rohits64600205

21-03-2018

Hi,

Thanks for your reply but links seems to be implementation for the authoring dialog of components. But it is not working for the "Complete Work Item dialog" custom fields in workflow

Highlighted

Avatar

Avatar

Ankush_Dhingra

Avatar

Ankush_Dhingra

Ankush_Dhingra

11-10-2018

Hi,

Did you find a solution for this ? We are getting the same problem

Regards,

Ankush

Highlighted

Avatar

Avatar

adithyaa6344757

Avatar

adithyaa6344757

adithyaa6344757

30-11-2018

Hello All,

Even I am facing similar kind of issue in my workflow dynamic participant step. I have a dialog where it has a drop down values. Author needs to select at least one form the drop-down values(I need it as required field). But I am not able to achieve it either by giving the field as required or by using "js".

Right now even without selecting at least one from drop-down when they click on ok the dialog is getting closed and  going to next step. can anyone help me out on this?