- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2023 03:48 AM - edited ‎02-14-2023 03:49 AM
Hi,
I'm getting this payload, how can I get "accountId" as out put in flow designer action. I tried JSON parser, still not getting the out put.
payload:-
[ {
"accountId" : "6180ca2b327da",
"accountType" : "atlassian",
"active" : "true",
"displayName" : "AADITYA TANK",
"emailAddress" : "aaditya.tank",
"locale" : "en_US",
"self" : "https://kohler.atlassian.net/rest/api/2/user?",
"timeZone" : "America/Belize",
"x16" : null,
"x24" : null,
"x32" : null,
"x48" : null
} ]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2023 03:52 AM
Hi,
You can get this payload in a variable and return within input to flow action.
var t=[ {
"accountId" : "6180ca2b327da",
"accountType" : "atlassian",
"active" : "true",
"displayName" : "AADITYA TANK",
"emailAddress" : "aaditya.tank",
"locale" : "en_US",
"self" : "https://kohler.atlassian.net/rest/api/2/user?",
"timeZone" : "America/Belize",
"x16" : null,
"x24" : null,
"x32" : null,
"x48" : null
} ];
return t[0].accountId;
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2023 03:52 AM
Hi,
You can get this payload in a variable and return within input to flow action.
var t=[ {
"accountId" : "6180ca2b327da",
"accountType" : "atlassian",
"active" : "true",
"displayName" : "AADITYA TANK",
"emailAddress" : "aaditya.tank",
"locale" : "en_US",
"self" : "https://kohler.atlassian.net/rest/api/2/user?",
"timeZone" : "America/Belize",
"x16" : null,
"x24" : null,
"x32" : null,
"x48" : null
} ];
return t[0].accountId;
Thanks and Regards,
Saurabh Gupta