Mapping fields directly in Flow

Create Autolaunched Salesforce Flow

1. Create a New Collection with the name jiraRequestFields.

Content Image

2. Add the ‘Get Records’ component and create variable ‘recordId’ to store SF record Id

Content Image

3. Create Apex-defined variables as many as you need for mapping.

Content Image

4. Create formulas to get values from Salesforce fields for mapping(Mapping is available for fields with type Text, Date, and Date/Time. Convert fields with type Date and Date/Time to Text as on screen.

Content Image

5. Using Assignment map fields where:

  • Variable field name is key of ‘Peeklogic Field’ record of Jira field you need to map;

Content Image

  • The variable value is a formula you created in step 4.

Content Image

6. Using the second Assignment you need to add all mapping of fields to Collection jiraRequestFields.

Content Image

Then go to Project Settings -> select Project and Issue Type -> manual mapping and add Flow you created 

Content Image

Ready to simplify your Salesforce integrations?

    Peeklogic AI Orchestrator