- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:43 AM
Hello dears,
I created an UI Action called "X" , on "change request" table, and i want to not display it on the form when the state of a change request is closed or canceled, so I specified in the condition : current.state != 7 , but it d'din' work, so I tried current.state != '7' and current.state != closed and current.state != 'Closed' and nothing : does someone know what to specified in the condition please :
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:58 AM
I found the solution and I wanted to share it with you 🙂 :
Right click on "state" field and i found that the state closed = 3 , so I changed the condition and it worked :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:55 AM
Hi @yasserbouat
OOB State value for "Closed" is '3'.
So in condition use the below script,
(current.state!='3')
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:56 AM
Hi ,
Please check if theer are any other UI polcies or client scripts interefering this condition.
Ideally the condition uses backend value and hyou already tried that.
Thanks,
Keerthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:58 AM
I found the solution and I wanted to share it with you 🙂 :
Right click on "state" field and i found that the state closed = 3 , so I changed the condition and it worked :