- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 03:31 AM - edited 04-26-2024 08:26 AM
hi can anyone help me with scenario for
when i submit a catalog item there are three sc tasks in where i have written a code in 2 and 3 rd sc task to display some value in special instructions field.
What happening is that after i close complete 1 st sc task, the data/value written in 2 and 3 sc task is getting displayed when 1 st sc task is closed complete.
please help me how to fix this and where to fix this in which sc task.
below is the code :
i have written this code in workflow 2nd and 3rd catalog task activity
my requirment is that special instructions value should not display in 1 st sc task when the task is completed and what ever state it should display in 2 and 3 rd sc task only
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2024 12:37 AM
So I added the line in the catalog task and it was updated in the tasks.
u_special_instructions =
and it was updated in the task. It was not updated in the 1st one as per your requirement. If you have created the field check the name of the field that you have created.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 06:20 AM - edited 04-26-2024 06:22 AM
Hi @raj765_32 ,
I think in your code you are not closing the string in while loop, when you updating the gr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 06:40 AM
Hi
the code is same from the above can i know where did you closed the loop?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 08:08 AM
please see the code above i have given the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 06:40 AM
Your code updates a field on the REQ (sc_request) record, so that will display on any/all sc_task records if this field from sc_request is added to the sc_task form. It would be best to update a field on the sc_task record if you only want it viewable on certain sc_tasks.