Skip to main content
Nintex Community Menu Bar

fn-IsMemberOfGroup(\Admins\") refresh not working?"

  • January 19, 2017
  • 9 replies
  • 20 views

Forum|alt.badge.img+3

I have a single line textbox to show True or False and every time I add myself or remove myself from the Admin group, the textbox does not update. Below is the formula I used:

fn-IsMemberOfGroup("ADMINS")

9 replies

Forum|alt.badge.img+14
  • Scholar
  • January 19, 2017

can you post your config?

where exactly have you placed that formula? into 'Default value'?

if so, then it is evaluated just in NEW mode and just at form load...

how do you test it?


Forum|alt.badge.img+3
  • Author
  • January 19, 2017

Here is the Single Line Textbox:

197796_pastedImage_1.png

Below is the form and the "True" single line of text is the isAdmin field.

197811_pastedImage_3.png

As you can see, I currently am in the ADMINS group right now.

197810_pastedImage_2.png

Once I remove myself from the ADMINS group and go back into the form, it still says True so it's not refreshing based on who is in the ADMINS group.


Forum|alt.badge.img+14
  • Scholar
  • January 19, 2017

Once I remove myself from the ADMINS group and go back into the form

what exactly means 'go back to form' - do view/edit existing item?

have tried to create new item?


Forum|alt.badge.img+3
  • Author
  • January 19, 2017

Yes, I click the View/Edit button on the list item. I have tried it by creating a new item. That's where I get "True" to show up and after I make the changes and remove myself from the ADMIN group and click on the view/edit item and it still shows "True."


Forum|alt.badge.img+14
  • Scholar
  • January 19, 2017

then read once again my very first post, single line text control's default value is evaluated just and only in NEW mode and just and only on form load.

if you created new item after you removed yourself from group, you would get false.


Forum|alt.badge.img+3
  • Author
  • January 19, 2017

What form controls can I use that check it every time a new item is created and viewed/edited?


Forum|alt.badge.img+14
  • Scholar
  • January 19, 2017

calculated value control (do not forget to switch on recalculate in NEW mode).

or in general, anything what supports runtime functions.


Forum|alt.badge.img+3
  • Author
  • January 19, 2017

That's exactly what I needed to know. I appreciate all of the help!


Forum|alt.badge.img+14
  • Scholar
  • January 19, 2017

how easy it is, just to put right question happy.png

if you got resolved your issue, set the question answered.