Release Notes v2.1

Doug Ayers edited this page Feb 12, 2019 · 2 revisions

Package Release History > Release Notes > Upgrading to Release 2.1


Topics

Check Deployment Settings Before Upgrading

Before upgrading, if you have actively scheduled configurations then you may need to enable the Deployment Setting to allow deployments of components when corresponding Apex jobs are pending or in progress. It's also recommended to upgrade during a time when no configurations are running to reduce risk of job failures during the upgrade.

image

Query Data The Way You Want With New Apex Source Type

Closes #4

The Apex Source Type supports classes that implement Iterable<Map<String, Object>> and is an advanced technique that gives you full control over the source data to process.

For example, your Apex class can make multiple SOQL queries, apply complex data filtering, or retrieve data from an external web service with http callouts. Learn how to develop custom iterators with the Apex Developer Guide.

To use the new Apex Source Type, ensure the "Source Type" picklist of the "Mass Action Configuration" object has a picklist option with label and value of "Apex".

  1. From Setup, click Object Manager then click Mass Action Configuration.
  2. Click Fields & Relationships then click Source Type.
  3. In the Values section, if Apex is not an option then click New, type Apex, then click Save.

Use More Powerful Filters In Your SOQL Queries

Closes #67

Craft more powerful queries now that the SOQL Source Type supports equality operators like <, <=, >, >=, and literal and relative date filters.

Examples:

SELECT Id FROM Account WHERE CreatedDate >= 2019-02-01T15:30:00Z
SELECT Id FROM Task WHERE ActivityDate = LAST_N_DAYS:30
SELECT Id FROM Opportunity WHERE CloseDate < YESTERDAY

True is True and False is False when Mapping Fields From Reports

Closes #64, #41, 47

Previously, some people would receive an error if their configuration used a Report Source Type and mapped checkbox, date, or currency fields. For example, an error log would include value not of required type: false when mapping a checkbox field from a Report to a Flow input variable of type Boolean.

In this release, the correct underlying source values and data types of report columns map to their target fields as expected.

Assign Field Mappings Quicker With Sorted Options

Closes #66

Find and assign field mappings quicker and easier now that the source and target options are sorted alphabetically.

image

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.