- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago
Did this by setting up Dynamic Record Conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago