getting error while parsing the href in the property transfer editor
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021
10:51 AM
09-02-2021
10:51 AM
getting error while parsing the href in the property transfer editor
Hi,
I am trying to parse the href value using the below expression in property transfer editor
_links.item[0].href.split('/')[1]
but getting error as "Failed to access the property split". Any idea on this error.
Thanks
6 REPLIES 6
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021
07:19 PM
09-02-2021
07:19 PM
Hey @Sirisha2020,
Im probably mistaken, but it looks like youre trying to usr the split method in your xpath. Ami mistaken?
If you are then i think thatswhy youre getting that error.
Or have i completely misunderstood?
Ta
Rich
Im probably mistaken, but it looks like youre trying to usr the split method in your xpath. Ami mistaken?
If you are then i think thatswhy youre getting that error.
Or have i completely misunderstood?
Ta
Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021
07:40 PM
09-02-2021
07:40 PM
Hi Richie,
I selected the Path Language as "JSON Path", Still getting the same error.
Thanks.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2021
02:46 AM
09-03-2021
02:46 AM
Hey @Sirisha2020,
I think we're misunderstanding each other.
Can you answer the following questions please?
Is the payload json or xml?
Have you created a transfer in your property transfer window?
Could you please provide a screenshot of the property transfer window?
Can you please provide the payload? (can have example data in there, but need to understand the structure/hierarchy)
ta
Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2021
11:48 AM
09-07-2021
11:48 AM
Hey @Sirisha2020,
I replied to your PM with some example groovy. Did you manage to try it out?
Cheers,
Rich
I replied to your PM with some example groovy. Did you manage to try it out?
Cheers,
Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021
12:58 AM
09-08-2021
12:58 AM
Sample response respective to your question please?
Regards,
Rao.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2021
03:24 AM
