External Process File Provider
Can someone help me understand what is happening behind the scene when using "External Process File Provider"?
I would like to have DOMO workbench to fetch a remote file (using a curl command) & then upload that file to a DOMO dataset. Is this the right place for this requirements?
Curl command looks like this (replace with string after "$" with actual url/name):
curl $remote_api_URL > $Get_remote_file_content_writtent_to_a_local_file
So I configured workbench with the following values:
Program Executable: curl
Arguments: $remote_api_URL > $Get_remote_file_content_writtent_to_a_local_file
Output File Path: $Get_remote_file_content_writtent_to_a_local_file
So, when clicking on "Apply Changes", the script seems to be executed & file generated/updated. But when schedule this workbench job to execute automatically, it seems to just grab the local file WITHOUT re-run the curl command.
My question is: should I even expect workbench job to re-run the command every time it is triggered?
BTW, every time when I click on the job -> "source" to check on things, the curl command seems to be executed.......
Thanks,
Hua
Comments
-
Can anyone help with the "External Process File Provider"?
0 -
Hua,
You're looking in the right place for the functionality you've described. I've used the External Process File Provider for similar processes.
A couple of notes:
The scheduled job will run with whatever rights are associated with the Domo Workbench services in the Windows Services listing. If that user doesn't have access to where your script resides or any location referenced in your script, the script will fail. Workbench, will continue after that and find the existing file in the output location and import it.
Unless a fully-qualified path is used in your script, it is possible that the running script may output the resulting file to a location relative to your script executable. It sounds like this is not as likely to be your situation, but I thought I'd mention it because I have been burned by it before.
The script will run each time the job runs, whether scheduled or manual. It will also run when modifying the source settings, as you've seen.
I hope this information helps. Let me know if you need any more detail.
1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive