Record Producers, limiting reference variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 12:00 PM
I have a record producer that is supposed to generate an incident. However, I have an issue with regards to one of the variables set up for that record producer. Specifically, I want to use this variable to select a location, but I need this variable to be limited based on criteria outside the variable.
For example, our users are based out of many different locations (we have an MTOM form to highlight the locations that a user may have access to) and we want to select the location based on where the user will likely be during the time service is supposed to be completed. Obviously we need to have an advanced reference qualifier, and I have already set up a script include that should extract a list of locations from the MTOM form based on the user. The trouble is that I am unable to reference the user in the advanced reference qualifier. Using current.affected_user did not work (affected_user being the catalog variable for the user in question). So wondering how I can leverage this to limit the location field. Is there another keyword other than current I can use?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 01:07 PM
Hi @tahnalos ,
If you want to retrieve a value from record producer form, you can use:
producer.affected_user
Thanks and Regards,
Rahul