- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 12:58 PM
So in my flow I am creating a new task with the assignment group being a placeholder group I created in my instance because it needs to be assigned to a group that I don't have access to.
What I need to happen, is when a company installs my application, their group they have on their instance somehow get associated with that placeholder group so when the flow kicks off it gets assigned to their personal group.
Any ideas/suggestions are much appreciated!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 11:36 PM - edited 01-23-2024 11:39 PM
Hi @ZachOnNow
As a best practice, we should keep all these configurable values in a system property. You can create a system property in your application scope to store the sys_id of the personal group. Whenever your application will be downloaded to any other instance, you can ask the Application admins to change the value of the system property to the sys_id of the group where they want the assignments to happen.
You can read the value of the system property in your flow by gs.getProperty('Name of the system property'); and pass on the data pill to the action instead of the hard coded group value.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 11:36 PM - edited 01-23-2024 11:39 PM
Hi @ZachOnNow
As a best practice, we should keep all these configurable values in a system property. You can create a system property in your application scope to store the sys_id of the personal group. Whenever your application will be downloaded to any other instance, you can ask the Application admins to change the value of the system property to the sys_id of the group where they want the assignments to happen.
You can read the value of the system property in your flow by gs.getProperty('Name of the system property'); and pass on the data pill to the action instead of the hard coded group value.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 06:40 AM
Thank you Amit, this was definitely helpful.