automatically assign assets to Users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 02:59 AM
Hi All,
We have a requirement to assign assets from the alm_hardware table to users once the task is closed. We tried implementing this using a client script, and it works fine for all assets except for one model category. For this particular category, the asset is initially assigned to the user, but the assignment is automatically removed afterward. When the task is reopened and closed again, it works as expected.
Any help in understanding why this is happening and how to resolve it would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 03:59 AM
Then there is other logic in place on this category that does something with the record.
Just curious: why a client script? Why not use the flow of the task, or create a flow for it? Client scripts only work client side, so anything could happen that does not write this to the server, especially with multiple tables involved.
A flow/business rule would make sure it always works.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 05:55 AM
Thank you for replying. We tried with run script, But it didn't work.