Skip to main content
Solved

list of user variables available in environments or substitution variables


Forum|alt.badge.img+3

Good day. 

i’m new to IFS

i’m looking for a list of variables that are available programmatically.

also known as substitution variables.

Examples of variables i know work
#USER_ID#
#DEFAULT_COMPANY#

 

Any help will be greatly appreciated.
 

Best answer by TyroneNelILC

i have searched for alternative substitute variables and could not find any info.

 

Alternative solution was found.

After some tinkering i was able to use the #User_ID# in the SQl Query to retrieve the Access Groups of the user and Filter the Dataset accordingly.

Example of condition used
 

(access_group in (SELECT access_group FROM PERSON_ROLE_ACCESS_GROUP WHERE person_id = '#USER_ID#'))

 

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 37 replies
  • August 12, 2021

In the FSM reference guide you can search on substitution and see various options. There is more than one section that talks about substitution variables for various aspects of the system. Here’s one example below:

 

 

You should be able to see this document from within FSM itself:

 


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • August 13, 2021

Hi @JonWoster 

Thanks for the thorough reply.

i scanned through the document and could not find what i am looking for.

i am in need of a Substitute variable like #User_id# but for the Users Access Group/s.
EG #AccessGroups#

Kind Regards


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • Answer
  • August 19, 2021

i have searched for alternative substitute variables and could not find any info.

 

Alternative solution was found.

After some tinkering i was able to use the #User_ID# in the SQl Query to retrieve the Access Groups of the user and Filter the Dataset accordingly.

Example of condition used
 

(access_group in (SELECT access_group FROM PERSON_ROLE_ACCESS_GROUP WHERE person_id = '#USER_ID#'))

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings