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
[ | |
{ | |
"name": "Luke Skywalker", | |
"darkSide": true | |
}, | |
{ | |
"name": "Ben Solo", | |
"darkSide": true | |
}, | |
{ |
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
#[recordVars[‘foo’]] -> #[vars.foo] |
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
#[failureExceptionForStep('step1')] -> #[Batch::failureExceptionForStep('step1')] |
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
<batch:aggregator size="100"> | |
<foreach> | |
<script:execute engine="groovy"> | |
<script:code> | |
vars['id'] = 'someValue' | |
</script:code> | |
</script:execute> | |
</foreach> | |
</batch:aggregator> |
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
<batch:commit size="100"> | |
<foreach> | |
<expression-component> | |
record.recordVars['id'] = 'someValue' | |
</expression-component> | |
</foreach> | |
</batch:commit> |
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
<set-variable variableName="table" value="PLANET"/> | |
<db:select config-ref="dbConfig"> | |
<db:sql>#["SELECT * FROM $(vars.table) WHERE name = :name"]</db:sql> | |
<db:input-parameters> | |
#[{'name' : payload}] | |
</db:input-parameters> | |
</db:select> |
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
<flow name="list"> | |
<file:list directoryPath="~/dropFolder" /> | |
<foreach> | |
<choice> | |
<when expression="#[attributes.directory]"> | |
<flow-ref name="processDirectory" /> | |
</when> | |
<otherwise> | |
<logger message="Found file #[attributes.path] which content is #[payload]" /> | |
</otherwise> |
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
<sfdc:query query="dsql:..."> | |
<repeatable-in-memory-iterable | |
initialBufferSize="100" | |
bufferSizeIncrement="100" | |
maxBufferSize="500" /> | |
</sfdc:query> |
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
<sfdc:query query="dsql:..."> | |
<ee:repeatable-file-store-iterable inMemoryObjects="100"/> | |
</sfdc:query> |
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
<sfdc:query query="dsql:..." /> |