Skip to main content
Nintex Community Menu Bar
Solved

Box - Getting File ID of Generated Document from Form after uploaded to Box

  • July 7, 2020
  • 2 replies
  • 47 views

I am trying to create a simple workflow kicked off by a Form event in NWC. The form captures a few values like name/email/date which are set to variables, and then are used to generate a document which is then uploaded to a Box Folder. This part is working.... For the next step, I want to reference that file that was just generated and uploaded to Box and then set metadata on it. Where I'm stuck is that to take an action on a file in Box, I need to fetch the file ID, however the previous Generate Document step does not appear to save the newly created Doc's ID as a variable.  How do I reference the created file that was just uploaded to Box so I can perform a Box API action like updating it's metadata?  

Best answer by leighburke

@JimD The box actions(https://help.nintex.com/en-US/nwc/Content/Designer/Actions/Box-SetFileMetadata.htm) allows you to find a file based on either File ID or File Path, so you can use the file path option and make it dynamic using variables if needed.

 

 

2 replies

Forum|alt.badge.img+14
  • Nintex Employee
  • Answer
  • July 8, 2020

@JimD The box actions(https://help.nintex.com/en-US/nwc/Content/Designer/Actions/Box-SetFileMetadata.htm) allows you to find a file based on either File ID or File Path, so you can use the file path option and make it dynamic using variables if needed.

 

 


  • Author
  • July 8, 2020

Thanks. That helped. @leighburke