Does the script works with out runtransform script function in on before transform script?

KM SN
Tera Expert

I have writtern script without starting run transformscript function but used source and target objects will it going to work for that matter whatever may be the type of transform script.

transform script.png

 

1 ACCEPTED SOLUTION

Hi @KM SN,

 

I can confirm (as tested and verified on an instance), you can indeed leverage the target.field_name (in your case (target.user_name) in an onAfter Transform Script.

 

You will need to wrap them within the function braces as shown below, but it can simply log  the target.user_name as desired.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie

 

Screenshot 2024-07-03 at 09.36.34.png

View solution in original post

5 REPLIES 5

Hi @KM SN - No worries at all - Happy to help. Just reach out if you have any queries.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie