Skip to content

Commit 63f164b

Browse files
authored
Merge pull request #14 from OpenEfficiencyPlatform/Dev
small change for release (better logging)
2 parents 3ba8b57 + de39f25 commit 63f164b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

SEED Benchmark/OEI/pollseedforproperties.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ return sdf.parse(sdf.format(c.getTime()));
169169
<sfdc:objects ref="#[payload]"/>
170170
</sfdc:create>
171171
<set-variable variableName="ContactResults" value="#[payload[0].id]" doc:name="Variable: Save the SF Contact Id"/>
172-
<catch-exception-strategy doc:name="pollseedforpropertiesCatch_Exception_Strategy">
173-
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;\n \n [Error1] Salesforce Account: '&quot; + flowVars.AccountName + &quot;' with Salesforce Contact email: '&quot; + flowVars.contactEmail + &quot;' aren't already objects in Salesforce but could not be created due to: ==&gt; &quot; +exception.cause.?message or exception.cause]" doc:name="Variable"/>
174-
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;. \n As a result the SEED property named: [(&quot; + flowVars.PropertyName + &quot;), Seed ID: (&quot; + flowVars.PropertyId + &quot;)] will not be updated in Salesforce until the issue is resolved&quot;]" doc:name="Variable"/>
172+
<catch-exception-strategy doc:name="pollseedforpropertiesCatch_Exception_Strategy">
173+
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;\n \n [Error4] Salesforce Account: '&quot; + flowVars.AccountName + &quot;' with Salesforce Contact email: '&quot; + flowVars.contactEmail + &quot;' aren't already objects in Salesforce but could not be created due to: ==&gt; &quot; +exception.cause.?message or exception.cause]" doc:name="Variable"/>
174+
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;. \n As a result the SEED property named: [(&quot; + flowVars.PropertyName + &quot;), Seed ID: (&quot; + flowVars.PropertyId + &quot;)] will not be updated in Salesforce until the issue is resolved. Confirm that the SEED 'Organization' field&#160;has an exact match with the Salesforce 'Account Name'. If they do not match then update one so that they do.&quot;]" doc:name="Variable"/>
175175
</catch-exception-strategy>
176176
</flow>
177177

SEED Benchmark/mulesoft/src/main/app/pollseedforproperties.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ return sdf.parse(sdf.format(c.getTime()));
175175
<sfdc:objects ref="#[payload]"/>
176176
</sfdc:create>
177177
<set-variable variableName="ContactResults" value="#[payload[0].id]" doc:name="Variable: Save the SF Contact Id"/>
178-
<catch-exception-strategy doc:name="pollseedforpropertiesCatch_Exception_Strategy">
179-
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;\n \n [Error1] Salesforce Account: '&quot; + flowVars.AccountName + &quot;' with Salesforce Contact email: '&quot; + flowVars.contactEmail + &quot;' aren't already objects in Salesforce but could not be created due to: ==&gt; &quot; +exception.cause.?message or exception.cause]" doc:name="Variable"/>
180-
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;. \n As a result the SEED property named: [(&quot; + flowVars.PropertyName + &quot;), Seed ID: (&quot; + flowVars.PropertyId + &quot;)] will not be updated in Salesforce until the issue is resolved&quot;]" doc:name="Variable"/>
178+
<catch-exception-strategy doc:name="pollseedforpropertiesCatch_Exception_Strategy">
179+
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;\n \n [Error4] Salesforce Account: '&quot; + flowVars.AccountName + &quot;' with Salesforce Contact email: '&quot; + flowVars.contactEmail + &quot;' aren't already objects in Salesforce but could not be created due to: ==&gt; &quot; +exception.cause.?message or exception.cause]" doc:name="Variable"/>
180+
<set-variable variableName="ErrorLog" value="#[flowVars.ErrorLog + &quot;. \n As a result the SEED property named: [(&quot; + flowVars.PropertyName + &quot;), Seed ID: (&quot; + flowVars.PropertyId + &quot;)] will not be updated in Salesforce until the issue is resolved. Confirm that the SEED 'Organization' field&#160;has an exact match with the Salesforce 'Account Name'. If they do not match then update one so that they do.&quot;]" doc:name="Variable"/>
181181
</catch-exception-strategy>
182182
</flow>
183183

0 commit comments

Comments
 (0)