Can we use System Properties directly in a Decision Table
- 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
Hi Chandan,
For Decision tree to fetch dynamic input from sys properties we can achieve it via flow designer
Create a Flow Variable which contains property value
in Flow add Decision tree and pass the input variable value the Decision Results will have you outputs to be passed down to next best action on flow.
Thanks & Regards
Sudhanva Chandra D
ServiceNow ArchX | 8 ServiceNow CIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @chandan86patra ,
As far as I know you cannot reference or query a System Property inside Decision Table bcz it requires explicit input parameters passed from a flow, a script (via DecisionTableAPI).
Also supported inputs are limited to standard field types such as Choice, String, Integer, Reference, Date/Time, and True/False, rather than a dynamic system property lookup inside the table definition itself.
What you can do is retrieve the system property value beforehand in your server side script or flow using gs.getProperty('your_property_name');
If my response helped mark as helpful and accept the solution.