The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Flow Designer using Record producer to populate a list collector field

CA7
Tera Contributor

I have attempted to use the following solution in Flow Designer to populate a List Collector field from a Record Producer with no success:

 

Flow Designer: For Each action with List Collector and Approval 

flow-designer-for-each-action-with-list-collector-and-approval

 

The Record Producer is oob and it is called 'Reclaim Asset' from the HAM installtion.

 

The asset variable is built off the Asset Reclamation Request [asset_reclamation_request] table with the Asset field being the list collector and a reference qualifier associated to the requested_for for table alm_asset: javascript: 'assigned_to='+current.variables.requested_for+'^sys_idNOT IN'+new AssetReclamationUtil().getAssetsToExclude(current.variables.requested_for);

This field has an onChange client script against a field 'Employee Separation'. that auto populates the alm_asset records associated to the requested for.

 

No matter what, I am unable to activate the Data Pill Picker for the field. I thought it might be due to an issue with my action but seriously do not think so. Also in Flow designer, I am unable to manually do the select of the assets.

 

My next troubleshooting approach was to take a copy of the oob reclaim asset rp and inactivate the client scripts since i am doing the work in the flow. still no luck.

 

CA7_0-1708633308750.png

When I click on the down arrow, nothing happens. It is not functioning even though I am using the oob Reclaim Asset RP or my copied version with a simple reference and no background calls to the script include utility.

 

Any ideas?

 

 

 

 

7 REPLIES 7

Sumanth16
Kilo Patron

HI @CA7 ,

 

You can directly fetch that updated record and then use the create record flow action . 

 

eg:

 

1. Triger action

2. getVariables

3. Create record : here you will set the field value eg:

var ds= fd_data.trigger.current.variables.<variable Name>;
return ds;
 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

CA7
Tera Contributor

the problem is that i am unable to access the data pill picker. it is grayed out whether i have the asset picker up or not. that is why i thought my action was incorrect but it is such a simple setup with one variable in and one variable out, it cant be the problem. 

Manasa16
Tera Contributor

Hi @CA7 , 

 

I'm facing a similar issue where I need to automatically trigger reclaim request as part of Off boarding a user. Did you find any solution for this?

 

Thank you

Muralidharan BS
Mega Sage
Mega Sage

I have overcome this scenario, so there are two solutions

 

1. create property - com.glide.hub.flow.catalog_variables.list_collector_as_grproxy

and set it to true. this will output the list collector records as glide record

2. If you think there are other flows which will be impacted, then use this

 - look up records and use the sysid from the list collector(data pills) and then for each to make it glide record.