- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2020 10:55 AM
In Flow Designer I added the ootb Workday HR spoke action called "Look up Location Details" to a subflow. When I try to log data returned from the action the problem is that the last selectable level in the picker occurs when the data type is array.object. All further levels are grayed out.
The data I want is a sting occurring after the array, (like Latitude in the image). How can I log "Latitude" for instance since it is currently disabled?
Thanks Everyone,
Brian
Solved! Go to Solution.
- Labels:
-
flow designer
-
IntegrationHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2020 08:44 PM
Hi Brain,
The output elements names are case sensitive. Ex location_data vs Location_Data.
Check the output by execution the action via flow api in Bg script.
Use below script,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2020 06:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2020 01:37 PM
Thanks for the response!
Can you be a little more specific? I get the following results from these inline script attempts:
1. Version 1 - result: location object returned
var location = fd_data._1__look_up_location_details.location
return location
{Location_Data={Integration_ID_Data={WD_WID=c705db17b0571037776c9bd6a2d66050, WD_I=216$1}, Location_Name=Test, Time_Profile_Reference={Time_ProfileDescription=Standard Hours - 40, Time_Profile_ID=Standard_Hours_40}, LocationID=Test...
2. Version 2 - result: nothing was returned when I dot walked past location
var lattitude = fd_data._1__look_up_location_details.location.location_data.lattitude
return lattitude
3. Version 3 - results: not helpful
var location = fd_data._1__look_up_location_details.location.toString().split(',');
return location
{"value":{"index":0,"co":["[object Object]"],"count":0,"skipped":0,"useArray":true},"displayValue":"[object Object]","inputUsed":false}
Thanks again,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2020 08:44 PM
Hi Brain,
The output elements names are case sensitive. Ex location_data vs Location_Data.
Check the output by execution the action via flow api in Bg script.
Use below script,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 07:00 AM
Thank you Suraj! That worked perfectly!