
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 04:47 AM
Hii Everyone,
Suppose in a incident I have created a new field name as "first assigned to" and prior to this there is already a field name as "assigned to" (we all know).
So, Scenario is like--
When we create a new incident and if something some value is given in "assigned to" for the first time , then Save.
After that if we change the value of "assigned to" for 3, 4 times.
So, now I need the very first value which was given to "assigned to" field to "first assigned to".
Please provide a solution for this.
Thanks
Utsav
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 05:32 AM
First Assigned to should be of type 'Reference' and refer sys_user table.
If you want it as string then clear Action sections and user script part and put below line:
current.u_first_assigned_to = current.assigned_to.getDisplayValue();
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 04:57 AM
Hi,
You can create Before (insert/update) BR on your table
When to Run - Assigned To changes and First assigned_to is not empty
In Action set First Assigned to same as Assigned to
or you can use script to set First Assigned to value.
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 05:12 AM
Hii @Anil Lande
See , I have mentioned this in "when to run"
After that, in "Action"
It is showing invalid update.
Please, rectify me where I am making mistake.
Thanks
Utsav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 05:17 AM - edited 07-04-2023 05:17 AM
Hi,
In Action section set it like below:
[First Assiged to] Same as [Assigned to]
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 05:28 AM
@Anil Lande
See like.. "assigned to" is a reference field and "first assigned to" is as other then reference
Maybe that is the reason, it is showing error.
Thanks