How to use value from right side (target system schema) in the script property condition at left side(My Application) in synchronization editor

How to use value from right side (target system schema) in the script property condition at left side(My Application) in synchronization editor.

I am using script property to calculate value to get synced to target system.

Now the problem is mapping is one directional(from left to right) and I want to use value from right side of schema for condition calculation and based on that return the value.

I am not able to access the schema attribute value from right side in the script property condition implemented at left side.

Can anyone help me with how can i resolve this issue?

Thanks in advance.

Parents
  • Maybe, one option would be to use conditional mappings. In these conditions, you are able to access thr values from the left and the right.

    So for example, if your condition in the scripted property would be like this

    If right.column1 = "X" Then value = Y Else value = Z

    You could transform this into to virtual properties on the left delivering Y or Z and two conditional mapping rules from these virtual properties to your target property right.column1.

    HtH

Reply
  • Maybe, one option would be to use conditional mappings. In these conditions, you are able to access thr values from the left and the right.

    So for example, if your condition in the scripted property would be like this

    If right.column1 = "X" Then value = Y Else value = Z

    You could transform this into to virtual properties on the left delivering Y or Z and two conditional mapping rules from these virtual properties to your target property right.column1.

    HtH

Children
No Data