This guide is designed to help new users get started with Cloud Execution for Desktop. It covers the ins and outs, the dos and don’ts, and the gotchas, from sign-in to scheduling. Follow along with the provided sample workflow.
Before you get started with Cloud Execution for Desktop, you need:
Before you can take advantage of Cloud Execution for Desktop, you need to create a link between Designer Desktop and your Alteryx Analytics Cloud (AAC) workspace. To do so…
https://company.alteryxcloud.com/?workspace=my-workspace
. In this case, you would enter my-workspace
in the Workspace Name field. Contact your AAC admin for this information.
⚠️ If your connection fails, ensure that the Cloud Instance URL and Workspace Name for your AAC connection are correct.
Once you successfully connect Designer Desktop to the Alteryx Analytics Cloud platform, the connection details are available via File > Manage Connections > Alteryx Links. Select the Data Source Name in the Name column to view the connection details, edit the connection, or delete the connection.
Once you’ve created a link between Designer Desktop and AAC, you can seamlessly connect and synchronize your Designer Desktop DCM connections with AAC for Cloud Execution for Desktop. This allows you to keep your connection information consistent across both platforms.
Your credentials are available to sync via the Connections section of each link created via Alteryx Links.
Once the sync is complete, a confirmation appears. If there is an issue with the sync, an error message appears.
ℹ️ It's a best practice to synchronize your connections and credentials anytime a change is made or a new connection or credential is configured. This ensures that your DCM connections are available in Cloud Execution for Desktop.
Now that we can authenticate to AAC, have Cloud Execution for Desktop enabled in our environment, and have successfully linked Designer Desktop to AAC, let’s get a workflow or app saved.
For this guide, we use the attached sample workflow, PharmacySpatialProcess.yxmd. Download the sample workflow to follow along, or feel free to open any workflow or app you already have completed.
ℹ️ Note that any screenshots that show the PharmacySpatialProcess.yxmd sample workflow show the inputs as Amazon S3 Download connectors, but the attached version uses Text Input tools.
Once your workflow or app is ready, you can save it directly to AAC using the link established earlier. To save your workflow or app to AAC…
Note: Using this checkbox does not change any associations of the assets or alter the way they are packaged; it just makes it easier to scan through the list and make sure everything looks correct.
ℹ️ The validation process takes place during the Save and is not a separate action. You will not see anything related to validation unless it fails, in which case an error is shown.
Once saved, you can find your workflow or app in AAC. You can get there by either opening a web browser and going to your AAC workspace or by selecting View in the green notification bar after saving.
Select Library at the top and then Designer Desktop from the list on the left. Here, you’ll be able to see all assets available to you in Cloud Execution for Desktop. You can narrow the view by selecting Owned by me or Shared with me.
You will be able to see the workflow or app's name, who it is shared with, who owns it, and when it was last updated. You are listed as the owner for anything you save directly to AAC.
Your workflow is saved to AAC—now what? Once your workflows and apps are saved to AAC, there are a couple of ways to use them.
Designer Desktop workflows saved to AAC can be run in several different ways using Cloud Execution for Desktop. You can run workflows can be run on demand, schedule them to run at a specified time, and add them to Plans.
To run a workflow manually…
To find your results…
The Jobs tab includes other helpful information. You can see the Job ID, Asset name, type of run, who ran it, and when it ran (including how long it ran).
You can filter this list of jobs to only show jobs run by you or by using the Filter option. The Filter option allows you to filter the view based on Asset Name, Run Type, Run By, and Status.
Each of the filtering options reveals a checkbox list of values that can be used to narrow down the results. For example, if filtering by Status, you have the option to only view jobs that have a status of Queued, Running, Success, Cancelled, or Failure. Select the checkbox next to the statuses for which you want to filter. Multiple selections are allowed.
To schedule a workflow…
Which occurrence should you use? Let’s examine the options to see how they work so you can determine which best suits your needs.
Another way to schedule your workflow is to navigate to Schedules at the top of the page and select New.
This brings up the schedule configuration window. The configuration menu looks a little different when entered this way. You are required to specify what type of asset you’re scheduling and then select the asset itself.
For Asset Type, you have a choice between Workflow, Desktop Workflow, Plan, and Reporting Project. To schedule the workflow you just saved to AAC, you’ll want to select Desktop Workflow. Once selected as the asset type, the Asset dropdown shows you only the desktop workflows available to be scheduled.
Once you have the asset type and asset selected, the remaining configuration for the new schedule is the same as above. Select the frequency you want to use, enter the required options, and select Schedule.
Once finished, the newly configured schedule appears on the Schedules page.
Just like creating schedules, you can update existing schedules from either the Library page or the Schedules page.
The process to update a schedule from the Schedules page is the same. Select the three dots next to the schedule you want to update, select Edit, and update the configuration options.
Designer Desktop workflows saved to AAC can also be added to plans. Plans allow for the execution of a sequence of discrete tasks in the Alteryx Analytics Cloud. For more details on Plans in general, go to the Help Page.
To add a Cloud Execution task to a plan…
You can add multiple tasks to a plan from any of the items listed in the panel on the left. Tasks can be linked together to run in sequence using the connection lines, similar to the connection lines between Designer Desktop tools. Each of the output anchors triggers any task connected to it based on its condition. The check mark output anchor triggers downstream tasks when the current task is completed successfully. The “>” anchor triggers downstream tasks regardless of the success or failure of the current task, and the “x” anchor only triggers downstream tasks if the current task fails.
You can save Analytic Apps from Designer Desktop to AAC the same way workflows are saved, but these can't be scheduled. To run an Analytic App using Cloud Execution for Desktop…
After selecting run, a new browser tab opens, and Alteryx App Builder launches. This loads the user interface for the selected app. Fill in the necessary values and select Run. While the job is running, the browser changes to show it is processing.
Once completed, it returns to the app configuration screen, which has a notification bar at the bottom.
To view the run's results, select Download in the notification bar. This downloads a ZIP file containing the app's output.
Hopefully you now have a solid understanding of how to utilize Cloud Execution for Desktop to run and schedule your Designer Desktop workflows and apps. All of the resources linked throughout this article can be found in the Help documentation. If you haven’t yet, download the attached sample workflow and try it out yourself!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.