How to get storage bucket filename

This is how I did:

  1. I have a Create Form Task Activity, where I have configured the storage bucket and I have a form control for uploading files

uploadedContract - is the field key for the File form control
image
image

  1. On a Wait for Form Task and Resume Activity for Task Object (Output) I have set a property: taskObjectFormResumed
    image

Then to know if a new file was added I have: JObject.Parse(taskObjectFormResumed.Data.ToString())(“uploadedContract”).First(“filePath”).ToString() , which is indicating me the file name from Storage Bucket

2 Likes