Hello!
I was hoping someone can help me out with a VRA/VRO service catalog input question.
I have a VRO workflow which takes in an uploaded .csv file which I configure as an input in the workflow and is automatically added to the inputs form field section of the workflow
I have a test csv with the following content:
heading1,heading2,heading3
"row1-val1","row1-val2","row1-val3"
"row2-val1","row2-val2","row2-val3"
My script in the workflow gets the content from the uploaded CSV and displays them
var uploadCSVdata = uploadCSV || new MimeAttachment ();
System.log(uploadCSVdata.name);
System.log(uploadCSVdata.mimeType);
System.log(uploadCSVdata.content);
My code works if I use the “DEBUG” feature in the VRO workflow to upload the CSV
Result (correct):
2020-05-28 10:25:14.000 -06:00info __item_stack:/item1
2020-05-28 10:25:14.000 -06:00info test.csv
2020-05-28 10:25:14.000 -06:00info application/octet-stream
2020-05-28 10:25:14.000 -06:00info heading1,heading2,heading3
"row1-val1","row1-val2","row1-val3"
"row2-val1","row2-val2","row2-val3"
But I am trying to run this from the Service Broker Catalog and the upload file field is missing
Even If I try to customize the form the upload file is not there.
If I add another simple input like a text field it appears in the Workflow inputs it appears in both the Service Catalog request as well as in the customizable form section.
How do I get my workflow upload input to appear in Service Catalog?
Thanks