Skip to main content
July 4, 2022
Question

Not getting constant value?

  • July 4, 2022
  • 23 replies
  • 0 views

Hi Everyone,

if(

    rimod1 = 2,

{cons!member1,cons!member2),{}

)

In the above code I try to get the value from 2 constant which contain group member, but I am getting value from member1 not from member2.

can anyone help me on this.

23 replies

stefanhelzle0001
Brainy
July 4, 2022

Can you describe which outputs you get for your inputs?

I would expect that for ri!mod1 = 2 you get a list of groups. And empty list for any other value.

July 4, 2022

yes right [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05] empty list for other value, but I am able to get the value from cons!member1 .

Here I try to get get value from both cons!member1 & cons!member2 if ri!mod=2.

stefanhelzle0001
Brainy
July 4, 2022

OK, can you post a screenshot?

I assume that your constants are both of type Group. Now what do you expect as the output? The users being member of these groups? If this is the case, use the following function get them.

docs.appian.com/.../fnc_people_getdistinctusers.html