Commit eaa169a 1 parent f3b59ed commit eaa169a Copy full SHA for eaa169a
File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,23 @@ Use Bulk API to update Salesforce records
23
23
- escapeUnicode: escapes characters using Unicode escape sequences
24
24
like Apex's String.escapeUnicode method
25
25
- base64: base-64 encodes input
26
+ - md5: md5 hash of string
27
+ - getSet: set key to value, returning previous value for key
26
28
- compareAndSet: check if key maps to value; if key doesn't exist, set it to
27
29
value (return true unless key already exists with different value)
28
30
- changeValue: update value associated with key (returns true unless the key
29
31
already exists and the value is unchanged)
30
32
- incr: increments the number stored at key by one. set to 1 if not set.
33
+ - clone: create a copy of the record
31
34
32
35
The + and - operators can be used to add, update, or remove fields on the
33
36
record object. For example:
34
37
record + {RecordTypeId: apex.myRecordTypeId} - "RecordType.Name"
35
38
39
+ If creating multiple records from a source record, use clone to avoid mutating
40
+ the same object repeatedly. For example:
41
+ 1..100 | map(clone(record) + {Name: "Record " + string(#)})
42
+
36
43
Additional context to be provided to the Expr expression by passing the
37
44
--context parameter containining anonymous apex to execute before the
38
45
records are queried. Each apex variable defined will be available within
You can’t perform that action at this time.
0 commit comments