- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 06:03 AM - edited 06-20-2024 08:34 PM
I have below requirement, when case id is added/updated , it should be added to connect case IDs automatically in same order in format case id 1 , case id 2 etc.. How to achieve this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 11:19 PM - edited 06-20-2024 11:37 PM
Updated the script as below and it worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 07:44 PM
Hi, unfortunately your question\requirement is not clear in your post.
Can you update this thread with clearer\specific details of your requirement, so that the community can better understand and assist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 08:35 PM
@Tony Chatfield1 updated the post and an image is added
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 09:01 PM - edited 06-20-2024 09:03 PM
Based on details provided a before update BR like this should work.
var myArray = ['NA', 'NA', 'NA'];
if (u_case_id_1 != '') {
myArray[0] = u_case_id_1;
}
if (u_case_id_2 != '') {
myArray[1] = u_case_id_2;
}
if (u_case_id_3 != '') {
myArray[2] = u_case_id_3;
}
current.u_connect_case_ids = myArray.toString();
//Note edited syntax error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 11:19 PM - edited 06-20-2024 11:37 PM
Updated the script as below and it worked