Naga S.
Assuming that target field length is known, then below expression should work:
("0".repeat($target_field_length) + $string_field).substr($string_field.length,$target_field_length)
where:
target_field_length: desired length of the target field.
string_field: input string to which the leading zeros is added.
Hey Joël B., just a simple check 😄 ... on the Gate Snap, the "Ignore Empty Stream" checkbox is checked or unchecked?
If it is unchecked, the Snap writes an empty document to the output view even there is no input data going to the snap.
Hey Brian C., if you have the disabled snaps connected with the upstream snap, the output of the upstream snap will be threated as open.
Ex:
Second output(output 1) of the Copy snap will be threated as open.