cancel
Showing results for 
Search instead for 
Did you mean: 

Variables By Workato edit schema not accepting changes to hints in JSON

TByford
Deputy Chef I
Deputy Chef I

Is there a way in the Variable by Workato to be able to make a field required and to update the hint? When I update optional to false or hint to something else it will just return back to what it was. Being able to update the hint is far more important but would like to require specific variables. Any help on this would be really appreciated. 

Updated json  


"control_type": "text",
"label": "EmailDateTimeFormat",
"name": "EmailDateTimeFormat",
"type": "string",
"optional": false,
"hint": "Date and Time formatted to be sent in body of email."


 

After saving the update.


"control_type": "text",
"label": "EmailDateTimeFormat",
"name": "EmailDateTimeFormat",
"type": "string",
"optional": true,
"hint": "Defaults to nil if not supplied."

 

3 REPLIES 3

TByford
Deputy Chef I
Deputy Chef I

I should have included this is in Automation Studio

shivakumara
Executive Chef III
Executive Chef III

Hi @TByford ,

Did you try updating it on the UI page? Both methods should work, but updating through the UI is easier.
Please correct me if my understanding of your requirements is incorrect.


fields update.png

I think you're looking at input parameters. Check the variable action specifically. The variable action UI has no fields for optional or for hint, and if you add them directly to the schema they get overwritten when saved. 

This must have been a recent update because I remember you were at least able to set them to required. Not sure about the hint though.