Update a service offering when the related service is updated with a transform map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 10:26 AM
Hello Community,
I have made a transform map that updates services from an excel sheet. We match the service name and then update the owned by and department fields. I was wondering if it would be possible to then update the same fields on the service offerings that have that service as the parent using the same transform map.
Thank you for any advice!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 10:51 AM
I am currently using an OnAfter Transform script but I am not sure if this is the correct way to do it, as it is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 10:57 AM
Hi @Patrick Cavanau ,
You are following the correct way, just update the addQuery condition as below:
child.addQuery("parent", target.sys_id);
If this solution helps you then, mark it as accepted solution ✔️ and give thumbs up 👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 11:37 AM
Thank you for this,
I have added this and it is still not working as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 11:39 AM
Great! Happy to help.
If this solution helps you then, mark it as accepted solution ✔️ and give thumbs up 👍!