Help - how do i make variables mandatory on a tasks based on RITM stage

Tracey6
Tera Contributor

Hi - I have a flow with 5 task stages in this order.  Depending on the stage I want to make specific variables are mandatory before closing.  I created a Client Script that works but it sets the variables mandatory at the request level but not the task level.  How can accomplish this?  I've attached screenshots.

Thank you in advance.

  1. catalog task - Evaluate - no variables mandatory
  2. Approve
  3. catalog task - Fulfillment - 2 variables mandatory
  4. catalog task - Retrieval - 6 variables mandatory
  5. Complete
1 ACCEPTED SOLUTION

AshishKM
Kilo Patron
Kilo Patron

Hi @Tracey6 , 

Please write catalog client scritp which has option to choose the "Applies on" RITM and TASK.

 

Example : You can open any existing catalog client script

AshishKM_0-1717187623513.png

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

View solution in original post

3 REPLIES 3

AshishKM
Kilo Patron
Kilo Patron

Hi @Tracey6 , 

Please write catalog client scritp which has option to choose the "Applies on" RITM and TASK.

 

Example : You can open any existing catalog client script

AshishKM_0-1717187623513.png

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Tracey6
Tera Contributor

Thank you Ashish, I tried you're suggestion and it does work on the RITM level, but not the task.  The message shows the stage value on the RITM , but the task value is empty.

johnfeist
Mega Sage
Mega Sage

Hi Tracey6,

 

Client scripts are table specific.  If you have things doing what you need in the existing script, have you tried cloning it to be on sc_task?

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster