Debugging Transform Map Scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2023 04:53 PM
I have a scoped app, with a transform map. I need to run a script for a couple of the columns. After writing the script and adding a breakpoint, I opened Script Debugger and I could see my breakpoint and script. I sent a payload to the app (through Postman), but that did not trigger the debugger. What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2023 05:37 PM
Hi, my understanding is that the debugger is action for the logged in (active) session user, and this would not be an interaction account. If you are debugging a transform script I think the easiest solution would to be addition of logging\info messages in the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2023 05:45 PM
Dang 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2023 05:50 PM
If it's a complicated script you could simply 'fake' in a background window or fix script using a couple of objects called 'source' and 'target'. Source would be name:value pairs to match your input data, target could be a valid object via a GlideRecord 'get' of a suitable test record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2023 06:27 AM
I wonder why only some sources are available for debugging (like Business Rules).