Group mapping

ZachOnNow
Tera Guru

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!!

1 ACCEPTED SOLUTION

Amit Verma
Kilo Patron
Kilo Patron

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.

View solution in original post

2 REPLIES 2

Amit Verma
Kilo Patron
Kilo Patron

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.

Thank you Amit, this was definitely helpful.