-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed an issue with record link formulas When no record ID or record JSON was set, both formulas were incorrectly displaying '<>' * Updated sfdx-project.json with details for v4.3.0 * Reverted flow classes to not save by default * Updated folder structure for mgd pkg classes (again) * Added examples directory with example trigger, flow & process * Updated name of github action * Updated build button in README.md
- Loading branch information
Showing
22 changed files
with
944 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Unique name for this workflow | ||
name: Logger Validation-Only Deployment | ||
name: Logger Deployment | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
157 changes: 157 additions & 0 deletions
157
examples/flows/Account_Flow_Logger_Example.flow-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Flow xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<actionCalls> | ||
<description>Logs the account again after the field assignment has made changes to the account</description> | ||
<name>Log_Account_After_Change</name> | ||
<label>Log Account After Change</label> | ||
<locationX>176</locationX> | ||
<locationY>518</locationY> | ||
<actionName>FlowRecordLogEntry</actionName> | ||
<actionType>apex</actionType> | ||
<dataTypeMappings> | ||
<typeName>T__record</typeName> | ||
<typeValue>Account</typeValue> | ||
</dataTypeMappings> | ||
<flowTransactionModel>CurrentTransaction</flowTransactionModel> | ||
<inputParameters> | ||
<name>loggingLevelName</name> | ||
<value> | ||
<stringValue>INFO</stringValue> | ||
</value> | ||
</inputParameters> | ||
<inputParameters> | ||
<name>flowName</name> | ||
<value> | ||
<elementReference>Flow_API_Name</elementReference> | ||
</value> | ||
</inputParameters> | ||
<inputParameters> | ||
<name>message</name> | ||
<value> | ||
<stringValue>Logging account again after Flow made a field update</stringValue> | ||
</value> | ||
</inputParameters> | ||
<inputParameters> | ||
<name>record</name> | ||
<value> | ||
<elementReference>Account_Record</elementReference> | ||
</value> | ||
</inputParameters> | ||
<storeOutputAutomatically>true</storeOutputAutomatically> | ||
</actionCalls> | ||
<actionCalls> | ||
<description>Logs the input account records before any changes are made to the record in this Flow</description> | ||
<name>Log_Account_Before_Changes</name> | ||
<label>Log Account Before Changes</label> | ||
<locationX>176</locationX> | ||
<locationY>158</locationY> | ||
<actionName>FlowRecordLogEntry</actionName> | ||
<actionType>apex</actionType> | ||
<connector> | ||
<targetReference>Update_Account</targetReference> | ||
</connector> | ||
<dataTypeMappings> | ||
<typeName>T__record</typeName> | ||
<typeValue>Account</typeValue> | ||
</dataTypeMappings> | ||
<flowTransactionModel>CurrentTransaction</flowTransactionModel> | ||
<inputParameters> | ||
<name>loggingLevelName</name> | ||
<value> | ||
<stringValue>INFO</stringValue> | ||
</value> | ||
</inputParameters> | ||
<inputParameters> | ||
<name>flowName</name> | ||
<value> | ||
<elementReference>Flow_API_Name</elementReference> | ||
</value> | ||
</inputParameters> | ||
<inputParameters> | ||
<name>message</name> | ||
<value> | ||
<stringValue>Logging account before making changes</stringValue> | ||
</value> | ||
</inputParameters> | ||
<inputParameters> | ||
<name>record</name> | ||
<value> | ||
<elementReference>Account_Record</elementReference> | ||
</value> | ||
</inputParameters> | ||
<storeOutputAutomatically>true</storeOutputAutomatically> | ||
</actionCalls> | ||
<apiVersion>51.0</apiVersion> | ||
<assignments> | ||
<description>An example field update</description> | ||
<name>Update_Account</name> | ||
<label>Update Account</label> | ||
<locationX>176</locationX> | ||
<locationY>278</locationY> | ||
<assignmentItems> | ||
<assignToReference>Account_Record.Phone</assignToReference> | ||
<operator>Assign</operator> | ||
<value> | ||
<stringValue>510-555-1234</stringValue> | ||
</value> | ||
</assignmentItems> | ||
<connector> | ||
<targetReference>Save_Account</targetReference> | ||
</connector> | ||
</assignments> | ||
<constants> | ||
<name>Flow_API_Name</name> | ||
<dataType>String</dataType> | ||
<value> | ||
<stringValue>Account_Process_Logger_Example</stringValue> | ||
</value> | ||
</constants> | ||
<description>An example process to demo logging Account records in Flow</description> | ||
<interviewLabel>Account_Flow_Logger_Example {!$Flow.CurrentDateTime}</interviewLabel> | ||
<label>Account_Flow_Logger_Example</label> | ||
<processMetadataValues> | ||
<name>BuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>CanvasMode</name> | ||
<value> | ||
<stringValue>AUTO_LAYOUT_CANVAS</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processMetadataValues> | ||
<name>OriginBuilderType</name> | ||
<value> | ||
<stringValue>LightningFlowBuilder</stringValue> | ||
</value> | ||
</processMetadataValues> | ||
<processType>AutoLaunchedFlow</processType> | ||
<recordUpdates> | ||
<name>Save_Account</name> | ||
<label>Save Account</label> | ||
<locationX>176</locationX> | ||
<locationY>398</locationY> | ||
<connector> | ||
<targetReference>Log_Account_After_Change</targetReference> | ||
</connector> | ||
<inputReference>Account_Record</inputReference> | ||
</recordUpdates> | ||
<start> | ||
<locationX>50</locationX> | ||
<locationY>0</locationY> | ||
<connector> | ||
<targetReference>Log_Account_Before_Changes</targetReference> | ||
</connector> | ||
</start> | ||
<status>Active</status> | ||
<variables> | ||
<name>Account_Record</name> | ||
<dataType>SObject</dataType> | ||
<isCollection>false</isCollection> | ||
<isInput>true</isInput> | ||
<isOutput>false</isOutput> | ||
<objectType>Account</objectType> | ||
</variables> | ||
</Flow> |
Oops, something went wrong.