AM Logo
API DocumentationForm Definitions
  1. Home
  2. API Documentation
  3. Outcomes
  4. Mutations
  5. updateWorkflowScriptFromFile

updateWorkflowScriptFromFile: WorkflowScript!

This mutation is used to update the details of a single workflow script using an existing file. Return will be specific to the newly added script. **Returns:** Returns the newly updated workflow script data.

workflowScriptId: UUID!

The ID of the workflow script that will be updated.

workflowScriptFileInput: WorkflowScriptFileInput!

Script detail inputs. This includes body,event type and name.