06-21-2024 08:05 AM
HI,
I have a workflow unity form for which I want to run a unity script that executes a document query to find if a related document exists and report back to the user by updating a field on the unity form. I am unable to create a form modifier for the workflow template in order to update any fields on the workflow unity form.
Is there a way around this ?
I am not see a FormTemplate modifier...am I just missing this or are workflow unity forms not updatable via a custom action unity script?
Thanks,
Kevin
public void OnCustomActionExecuteAction(Hyland.Unity.Application app, Hyland.Unity.UnityForm.UnityFormCustomActionEventArgs args)
...
CustomActionForm frm = args.FormInstance;
FormModifier formMod = args.FormInstance.CreateUnityFormModifier();
Error: System.NullReferenceException: Object reference not set to an instance of an object.
at UFORMCAESCheckForDuplicateW9.CAES.OnCustomActionExecuteAction(Application app, UnityFormCustomActionEventArgs args) in :line 91
06-21-2024 12:24 PM
This was an issue caused by other coding, please disregard.
06-21-2024 12:24 PM
This was an issue caused by other coding, please disregard.
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.