Integrations
Configure Task Output
Map Output for Creating or Updating Records
4 min
select create/update records when you have a number of fields and parameters that you need to map for task output to map output for create/update records or update current record from the outputs tab, click create/update records then, on the next page, specify the application for the task or select update/create records in the current application when selecting update/create records in the current application for an application task, it selects the application the task is triggered by when selecting this for an applet task, any parameters mapped to the current application will be updated when the applet is placed in an application note you can also create an application from the app you would like to use for more information see create an application for output mapping the first time you create a task this way, you will see this mapping decision dialog asking you, how would you like to proceed? follow the guidance on the dialog to continue swimlane's automapping feature works to create a list of matching parameters and fields that you can review, configure, and approve on the next screen on create/update records, review the suggested mappings if you want swimlane to create a field with the output parameter and mapped field, enable the create field switch select the application field or field type the field types available for your specific parameter are automatically mapped for you you can view the types from the app field/field type drop down menu, for example for more detail on output mapping and field types, see mapping types docid\ emdviepp0zbqcc6xman 8 if applicable, indicate what you will use to parse the output data the parser takes input in one of the available formats and breaks that input into parts that are mapped available parsers include regex, url, email, host, ipv4, ipv6, md5, sha1, and sha256 if your parameter is a list, you can select a delimiter as a parser to configure and map additional parameters, fields, or field types, click the ellipsis that follows the parse with field and select add configuration while you're working on your mappings, you can keep track with the mapping status bar at the bottom of the window review and save your work as you continue to create approved mappings click preview to get an at a glance view of the currently updated mappings note as you set parameters for date or user/group fields, you can specify the format you'd prefer that the date or name be mapped in the record for example, you have the following options for dates/times click add mappings to app to go to approve field creation & mappings review, and then click approve once you've approved your mappings, you return to the task view click save to save the task create an application for output mapping when mapping to create or update records, you can also create an application on the fly and create fields to map to to create an application for output mapping from the outputs tab, click create/update records then, on the next page, click create new application assign your application a name and other details as necessary, and then click +create on create/update records, select the create field switch to create fields for your application when done, click add mappings to app save the task template mapping sub tab on the template mapping sub tab, you can also specify a template at this time, depending upon what you want the task to do template mapping uses mustache templating language syntax http //mustache github io that can combine multiple output values into one composite string of text here is a template example malicious scores static analysis result {{static score}}, dynamic analysis result {{dynamic score}} use {{#newline}} to add extra lines and/or line breaks into your template configuration sub tab go to the configuration sub tab to make further decisions about how to update records with output from tasks you control how the records coming out of the task relate to the records within swimlane by setting the creation type, error handling, key field, and reference hover over the help icons on this subtab for more information, or consult this table task outputs configuration options configuration setting option definition creation type insert only only inserts new records does not update existing records insert and/or replace creates a new record, or replaces an existing record insert and/or update creates a new record, or updates an existing record error handling set as empty if an error occurs during updating this field, set the field to an empty value skip row if an error occurs during updating this field, skip the entire record stop import if an error occurs during updating this field, stop the import process key field the field which uniquely identifies each record existing records will be matched based on the value of this field reference if your task uses references, you make additional specifications here add reference on source record click to update the source reference field with the created or updated records from this mapping source reference field the source record's reference field this field contains any eligible reference fields from the source application that you can select here's an example of the output mapping configuration tab