08-11-2019 06:57 PM
I'm writing a script to manipulate the field of unity form during workflow. E.g. When the field data is invalid in certain queue of workflow, it can highlight the field. Can the script do this?
08-11-2019 07:41 PM
Before you turn to the API and custom scripting, look into Unity Custom Actions.
Custom Actions support Is In Queue and Expression-based conditions, and the Invalidate Field action. That might do all you need.
-John
08-12-2019 04:53 AM
Hi
Your question appears to imply that the form is already submitted and passing through workflow. As John mentions, I would recommend validating the form BEFORE the user submits the form. There is a custom action that can execute a Unity Script while the form is being filled out. The validation could be done in real-time and ideally improve the efficiency of the process. If that isn't possible, I would defer to Hyland technical support to advise if custom actions would/could be triggered if the form data is updated without the form being "open".
Cheers.
08-11-2019 07:41 PM
Before you turn to the API and custom scripting, look into Unity Custom Actions.
Custom Actions support Is In Queue and Expression-based conditions, and the Invalidate Field action. That might do all you need.
-John
08-12-2019 01:25 AM
Hi, thanks for your suggestion.
But I want to check the repeater field value with regular expression, the custom action seems too simple to do it.
08-12-2019 04:53 AM
Hi
Your question appears to imply that the form is already submitted and passing through workflow. As John mentions, I would recommend validating the form BEFORE the user submits the form. There is a custom action that can execute a Unity Script while the form is being filled out. The validation could be done in real-time and ideally improve the efficiency of the process. If that isn't possible, I would defer to Hyland technical support to advise if custom actions would/could be triggered if the form data is updated without the form being "open".
Cheers.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.