You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement a custom function to be used in internal workflows by our admin teams.
As input property it must accept a file uploaded by a user.
I have created a workflow with 1st step being Collect info - it has a single File Upload input field.
I have defined custom function with input parameters like this:
I am able to bind this input property to a File Upload field, but than I am instantly see the error from WF Builder:
I have also tried to use Schema.slack.types.file_id but in that case I am unable to even bind this property to File Upload field in WF Builder - it shows another error saying that this type is not yet supported by WF Builder.
The text was updated successfully, but these errors were encountered:
I think the actual problem here is that OpenForm doesn't seem to accept file_id types, yes? In my local testing that seems to be the case...
EDIT: nevermind that was my mistake. OpenForm support for file_id works fine.
filmaj
changed the title
[QUERY] Custom function that gets File upload from Collect information step in WF Builder
[FEATURE] Add support for Custom Functions w/ file_id parameters in Workflow Builder
Jul 8, 2024
This seems to be a limitation in Workflow Builder w/ wider support of the file_id type, such as when they are parameters in a custom step. Will report this internally, but I also suggest you email [email protected] and let the support team know that this is a feature gap that you would like to see filled.
I am trying to implement a custom function to be used in internal workflows by our admin teams.
As input property it must accept a file uploaded by a user.
I have created a workflow with 1st step being Collect info - it has a single File Upload input field.
I have defined custom function with input parameters like this:
input_parameters: { properties: { cv1: { title: "Enter a file", name: "cv1", type: Schema.types.array, description: "", items: { type: Schema.types.string, } }, }, required: ["cv1"], },
I am able to bind this input property to a File Upload field, but than I am instantly see the error from WF Builder:
I have also tried to use Schema.slack.types.file_id but in that case I am unable to even bind this property to File Upload field in WF Builder - it shows another error saying that this type is not yet supported by WF Builder.
The text was updated successfully, but these errors were encountered: