
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2016 08:49 AM
Hello I am using the default value to assign an Asset Tag after a CI is created.
I am using the script javascript:getNextObjNumberPadded()
However, I need to set the asset tag ONLY if the computer is NOT virtual.
So basically, the record needs to be created first with the field value "Is Virtual" set to true or false.
Then, I need to be able to set the default value of the Asset Tag based on that condition.
How can I do this, would it be possible with a business rule that is run AFTER record insertion?
I tried creating a business rule for this but the Global business rules do not have Before/After conditions.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2016 09:04 AM
dont create a global br
Make the BR on the server table
before
insert/update
condition = isVirtual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2016 09:04 AM
dont create a global br
Make the BR on the server table
before
insert/update
condition = isVirtual