Populate Assignment group Asset reclamation task

Arun Priya
Tera Contributor

Hi All,

I need to auto populate Assignment group in "asset reclamation task" based on the Requested for location managed by group.
This asset reclamation request are raised from a record producer.

 

Can some one help me to understand on how to implement this requirement.

 

23 REPLIES 23

Arun Priya
Tera Contributor

Hi @YuvrajS90374537 

I can either use the assignment rule or this script in record producer right?

There is no field called assignment group in the record producer form. It is available only in hardware asset reclamation task.

 

@Arun Priya you want to set assignmet group based on location managed by group of requested for so this is not possible through assignment rule you need to write the script in record producer script.
Assignment rule is best when the assignment group is fixed for perticular condition

Please hit like and mark my response as correct if that helps

@Nehal Dhuri I have given this in record producer it didn't work. Any correction should be done. Attached the screenshot

add log and check whether you are getting managed by group or not in script
gs.info(producer.requested_for.location.managed_by_group)

Please hit like and mark my response as correct if that helps