How to store transform input into variable

Hi Experts,

Is it possible to pass input of a transform into other reference transform which is of type conditional transform. We want to store the input from first transform into second transform(referenced).

For example:
First Transform:

{
    "name": "MAIN Transform",
    "type": "reference",
    "attributes": {
        "id": "Passing Input Transform",
        "input": "DUMMY INPUT"
    },
    "internal": false
}

And Passing Input Transform will be of type say conditional transform, and i want to store the input from previous transform into an variable so that we can work on it.

Let me know if its possible to achieve :slight_smile:

Regards,
Bhushan Dhodi

Hi @bhushan008 ,
Greetings of the Day!

please check the below Transform hope it is helpful

{
  "attributes": {
    "expression": "$ref eq DUMMY INPUT",
    "positiveCondition": "true",
    "negativeCondition": "false",
    "ref": {
  "attributes": {
    "id": "Passing Input Transform"
  },
  "type": "reference"
}
  },
  "type": "conditional",
  "name": "Conditional Transform"
}

Thank You

Hi @bhushan008
Yes you can pass input to reference transform but its completely optional.

Hi All,

Was able to figure out that we can refer the “input” without storing in variable.

Regards,
Bhushan