Skip to main content
Nintex Community Menu Bar

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

  • January 30, 2020
  • 4 replies
  • 33 views

VijayAntoine
Forum|alt.badge.img+3

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.

4 replies

Forum|alt.badge.img+8
  • Novice
  • February 3, 2020

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


Forum|alt.badge.img+12
  • Scholar
  • February 3, 2020

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


VijayAntoine
Forum|alt.badge.img+3

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 !


allan
Nintex Partner
Forum|alt.badge.img+9
  • Nintex Partner
  • February 6, 2020
You can just hit F12 to explore the DOM to get the numeric value, no need of a calculated value ;)