is it possible in a client script to set a expense line sublist field as mandatory? It's one that isn't available to set as mandatory in the workflow. I'm thinking getCurrentSublistField with .isMandatory = true; , but it seems to not be working
c
Castor
11/29/2023, 7:37 PM
We have a workflow action that can do this in short order
Castor
11/29/2023, 7:37 PM
I am not a dev so I can't answer the question as is, but know we have solved it
r
ronruffman
11/29/2023, 7:39 PM
'set mandatory fields' workflow action doesn't seem to have an option for 'expmediaitem' (attachment), or 'memo' fiels on the expense line level, that's what you're referring to. But maybe I could set a condition to remove the submit button unless they are populated....
c
Castor
11/29/2023, 7:40 PM
Expense sublist is not available to a workflow out of the box
Castor
11/29/2023, 7:41 PM
hence why we made a WFA script. We can show you how it works pretty quickly