cancel
Showing results for 
Search instead for 
Did you mean: 
Nintex Newbie

Make rules (Hide) in a [date/time] field wich depends on a selection of the Flexi Task

Jump to solution

Hello everybody,

 

I want to make a hidding rule in my Date/Time field entry in my Flexi Task form.

 

For example when I receive the mail from my WorkFlow to approve or reject the request, if I select "Approve" [Choice button - Connected to Decision] I want to show a Date/Time field.

 

And If I select Reject, I dont want show this Date/Time field.

 

I'll try, in my form to make a rule like Hide if Decision != "Approve".

 

But no chance, It doesnt works....

 

I need your help please..

 

Thanks a lot in advance.

Labels: (1)
0 Kudos
Reply
4 Replies
Highlighted
Nintex Newbie

Re: Make rules (Hide) in a [date/time] field wich depends on a selection of the Flexi Task

Jump to solution

Hi,

 

the task outcomes are stored in numbers instead of text, so you´d have to build a rule like

Decision !== 1

I guess the number can be found out in some database. But I don´t know where.

What I do is:

  • Place a calculated value to the form. Formula: =Decision
  • Publish the form
  • Start the workflow and go to the task form
  • click through the decisions and note the corresponding numeric values
  • Edit the task form again - this time with the numeric values
  • Remove the calculated value as it is not needed anymore

Unfortunately you cant see the numeric values in preview as it always says -1.

Hope this helps

Reply
Highlighted
Automation Master
Automation Master

Re: Make rules (Hide) in a [date/time] field wich depends on a selection of the Flexi Task

Jump to solution

@VijayAntoine .....what's the purpose of date/time field? 

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Make rules (Hide) in a [date/time] field wich depends on a selection of the Flexi Task

Jump to solution

I KunalPatel thanks for your reply, I found a solution for my request.

 

I open my browser in inspector mode and I get the Decision ID value and I make rule for ID getted in inspector mode an It works !

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Make rules (Hide) in a [date/time] field wich depends on a selection of the Flexi Task

Jump to solution
You can just hit F12 to explore the DOM to get the numeric value, no need of a calculated value Smiley Wink

View solution in original post

0 Kudos
Reply