- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2026 06:00 AM
I have this action which should be visible only when the list query is u_state=checked_in^u_type=1.
How do I get the query in the condition?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2026 04:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2026 03:54 AM
The list query is not automatically available as a variable in a Declarative Action condition script.
You can try inspecting the available parameters in the script context to see whether the query is being passed. For example:
gs.info(JSON.stringify(input));
or
gs.info(query);
If the query is not available in the action context, you may need to use a client-side condition or pass the filter value through another mechanism.
Could you share where the action is being rendered (Workspace list, related list, etc.) and what you've already tried?
*************************************************************************************************************
Thanks,
Prabakaran C
LinkedIn: https://www.linkedin.com/in/prabakaran-c-534b6826a
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2026 04:32 AM
Did this by setting up Dynamic Record Conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2026 04:44 AM
Hello @vidhya_mouli ,
First copy your query from native list ui as shown in image :
then paste it in your declarative list action client condition as shown in image :
output :
That declarative ui action will shown only for only those filtered record
If this helps you then mark it as helpful and accept as solution.
Regards,
Aditya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2026 01:42 AM