Run Workspace
You can perform the following from the Run Workspace page:
- Run or Share a Workspace
- Repository: The repository that holds the workspace you want to run.
- Workspace: The workspace you want to run.
- Service: An FME Server service that the workspace is registered to run.
- Email results to (optional): An e-mail address to deliver results. This option allows you to receive e-mail notification when the translation is complete, rather than wait for a completion message on this page.
- Published Parameters: Provide any published parameters or other settings specific to the FME Server service.
- Advanced:
- Job Queue (optional): The job queue in which to run the job. The specified queue overrides the queue of the repository to which the workspace belongs. If not specified, the job is placed in the job queue of the repository.
- Queued Job Expiry Time (optional): The length of time after which a job that is waiting in queue does not execute. If the job does not execute before this time is reached, it remains in the queue until it is ready to execute, but execution is not attempted. This directive is useful for time-sensitive jobs that you do not want to run after the specified time is exceeded.
- Running Job Expiry Time (optional): The time a job will remain in the running state. This directive is used to ensure that a job does not hang and block an FME Engine indefinitely. The minimum allowable value is 1.
- Run Until Cancelled (optional): If checked, the job runs continuously, even after a server shutdown or crash, until it is explicitly canceled.
- FME Server App: A URL that runs the workspace as an "app" from a browser, and allows users to configure any published parameters.
- Webhook URL: A URL that can be integrated with third-party software to run the workspace.
- Click Create a Webhook or Workspace Actions > Create Webhook. The Create Webhook page opens.
- If required, edit the Token Name, Description, and Expiration of the token.
- User Can Upload: If the workspace uses the Data Upload Service, this setting allows users to upload temporary files that are used to run the workspace.
- Additional Permissions: FME Server generates a security token that does not require logging in, and is configured with the minimal set of permissions to run the workspace. However, if this setting appears, other permissions may still be required. You may need to further test and adjust the given permissions.
- Access: Access the Run Workspace page.
- Advanced: Access Job Directives when running workspaces.
- Access: Access the Jobs page to view the jobs you have run, or cancel any of your jobs that are currently running or in queue.
- Manage: Access and manage the jobs of all users. You can:
- Cancel any job that is currently running.
- Remove the history of jobs that were previously run.
- Manage Job Queues. (Also requires Manage permission in Engines & Licensing.)
- Access: Access the Automations page.
- Create: Create workflows.
- Read: View a workflow and its log file.
- Write: Edit a workflow.
- Run: Start and stop a workflow.
- Access: Access the Schedules page.
- Create: Create schedules.
- Full Access: Edit or delete a schedule.
- Access: Access the Repositories page.
- Create: Create repositories.
- Download: Download workspaces and other repository items from FME Server into Workbench.
- Read: View repository information.
- Publish: Publish workspaces and other items to the repository from Workbench.
- Run: Run repository workspaces from FME Server.
- Remove: Remove a repository, or remove items from a repository.
- Access: Commit versions and view repository history.
- Manage: Enable version control and configure with a remote Git repository.
- Access: Access the Workspace Viewer.
- Access: Access the Server Apps page.
- Create: Create new FME Server apps.
- Read: Access an FME Server app.
- Write: Edit or Remove an FME Server app.
- Access: Access the Publications page.
- Create: Create Notification Service Publications.
- Read: View information about a publication.
- Write: Edit a publication.
- Remove: Delete a publication.
- Access: Access the Subscriptions page.
- Create: Create Notification Service Subscriptions.
- Read: View information about a subscription.
- Write: Edit a subscription.
- Remove: Delete a subscription.
- Access: Access the Topics page.
- Create: Create topics.
- Read: View information about a topic.
- Write: Edit a topic.
- Publish: Publish notifications to a topic.
- Remove: Delete a topic.
- Access: Access the Resources page.
- Create: Create connections to network resources.
- Access: Read and download a file.
- List: List the folders and files of a resource.
- Write: Write to files.
- Upload: Upload files.
- Remove: Delete files.
- Access: Access the Database Connections and Web Connections pages.
- Create: Create connections.
- Manage: Access, create, and remove connections.
- Access: Manage web services.
- Access: Access the Projects page.
- Create: Create projects.
- Read: View information about a project.
- Write: Edit a project.
- Delete: Delete a project, or delete items from a project.
- Access: Access the Dashboards page.
- Manage: Configure engines and licensing, except job queues (requires Manage permission in Jobs).
- Manage: Configure users and roles, and manage Cross-Origin Resource Sharing.
- Manage: Configure system cleanup.
- Access: Access the /metrics endpoint of the FME Server REST API.
- Manage: Configure the FME Server services.
- Full Access: Manage FME Server services.
- Manage: Configure System Events.
- Upload: Allow publishing FME packages from FME Desktop to FME Server.
- Parameters: Configure any published parameters with the values you want the workspace to run when the webhook is invoked.
- Click OK. The webhook is created and URLs are provided for Authorization Header and Query String Authorization. Click the Copy icons to copy either or both URLs.
Note: You can access the token that was created for these URLs on the API Tokens tab of the Token Management page.
To download all of the information about this webhook, including token ID, URLs, and header values, click Download.
WARNING: This is your only opportunity to download complete webhook metadata. After navigating away from this page, it is no longer available.
- Click Run or Workspace Actions > Run Workspace. You may see an intermediate page indicating that processing has begun.
- Download or View a Workspace
You can run a workspace directly from this page, or share a workspace as an "app" that is run from a browser, or as a webhook that is integrated with third-party software.
Note: Workspace templates cannot be run from FME Server.
Note: To receive e-mail, the following FME Server email subscribers must be properly configured: DataDownload_Email_JobFailure, DataDownload_Email_JobSucess, JobSubmitter_Email_JobFailure, JobSubmitter_Email_JobSuccess. For more information, see Monitoring FME Server Events from Topics.
If any published parameters represent data files, this page allows you to upload files to FME Server, making use of the Data Upload Service behind the scenes. This service works in conjunction with the Data Download, Data Streaming, and Job Submitter services to upload files.
Note: Any "Feature Types to Read" published parameters that contain spaces must be enclosed in double quotes. For example, "Bus Routes".
Note: Resources connections to Amazon Web Services (AWS) S3 buckets cannot be accessed.
Other Ways to Run this Workspace
(Optional) You can generate a security token for the workspace, along with URLs that use the token. These URLs allow unauthenticated access to run the workspace in the following ways:
To create an app URL, click Create an FME Server App or Workspace Actions > Create Server App, and complete the settings on the Server Apps page.
Note: The following is a complete list of permissions in FME Server. Under Additional Permissions, only the minimal additional permissions that may be required to run the workspace display. After the token is generated, you can configure additional permissions for it on the Token Management page.
Individual Automations:
Note: Automations requires additional permissions. You are prompted to grant any additional permissions that are required.
Individual Schedules:
Note: Access permission is not required to run a workspace. Only Run permission on the applicable repository is required (see below).
Individual Repositories:
Note: Users must also have Allow permission on the applicable service (see Services) when running workspaces.
Note: You must uncheck all five permissions to completely remove a role from membership with a repository.
Note: Version Control must be enabled to view these permissions.
Individual Server Apps:
Individual Publications:
Individual Subscriptions:
Individual Topics:
Individual Resource connections (top-level folders):
Individual Connections:
Individual Projects:
Note: Access or Create permission is not required to have Read/Write/Delete permission on individual projects. These tasks can still be accomplished with the REST API.
Individual Services:
To update the published parameters, click Change Parameters, update as required, and click Create a Webhook to generate a new webhook.
To return to the Run Workspace page, click Run Workspace on the breadcrumb at top.
Topics to Notify
Displays the Notification Service topics that are notified on success or failure of running the workspace, by registered service. For more information, see Monitoring FME Server Events from Topics.
Published Parameters
Displays details of any published parameters.
The resulting web page indicates whether the job submission was successful.
Select Workspace Actions > Download Workspace or View Workspace.
Additionally, this page provides instructions to:
- Unregister a Service from a Workspace
- Unregister a Workspace from a Repository
Use FME Workbench to "republish" the workspace to FME Server. On the "Register Workspace Services" page of the "Publish to FME Server Wizard," unselect the service you want to unregister. For more information, see the FME Workbench help.
Use FME Workbench to "republish" the workspace to FME Server. On the "Register Workspace Services" page of the "Publish to FME Server Wizard," unselect all the FME Server Web Services. Although the workspace is still considered "published," it is no longer visible in FME Server. For more information, see the FME Workbench help.