workflow script - Set field Mandatory

brown9394
Tera Expert

Hello Experts,

Is it possible to set a field on the demand form mandatory through the workflow between tasks? Before task can be closed out, I want 'u_manager' field to be mandatory before a task can be closed. I cannot do this with a UI policy on demand form on state change, because this state has 3 different tasks, and u_manager field needs to be mandatory before the last task closed. Any ideas?

Basically after the 'confirm requested resources' task is completed, we need to set 'u_manager' mandatorybefore 'resources fulfilled' can be completed.

Screen Shot 2016-11-21 at 12.20.50 PM.png

17 REPLIES 17

I don't think I can access 'tasks' for filtering when to apply in the UI Policy.


Just clarify me which type of tasks you are creating from workflow.



These are not demand tasks ?


Yes, They are Demand Tasks. Just confused how you can do it through the UI Policy when I don't see 'Demand Tasks' to filter under when to apply.


jagarnathn
Tera Expert

Why should filter demand tasks when you are going to write ui policy on demands. it should be like this.




find_real_file.png


The u_manager field on Demand form is to be mandatory after a certain Demand Task is completed. It's not based off of the Demand Name or Demand State, it's based off of the Demand Task State.