This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using Additional Connection Variable for Synchronization Project

I have a CSV file. I have created Sync project with "Data Import" option to make it not FULLSYNC. I have added one more connection variable

 

My requirement is :

1. Template Needs to be Executed

2. My Custom Process for Update Event should not trigger when I do import from Sync Project

     - Generating condition is

Value = Not CBool(Connection.Variables("FULLSYNC")) and Not CBool(Connection.Variables("RSAIMPORT")) and $UID_UNSRootB$ =Connection.GetConfigParm("Custom\RSA\AuthentigationManager\UIDUNSRootB")

 

 

But it does not work. My custom triggers during sync project import.

 

Am i missing anything ?

Parents
  • You are mixing up two things, connection variables, and sync project variables. You cannot test against sync project variables outside of the synchronization run as you are trying to do with your gen. condition.

    But you can try to test against the current user of the connection in your gen. condition.

    You can either compare Connection.User.Name to Synchronization or Connection.User.DialogUserUid with DPR-CC0219C87167B541B70B7CED9263A42DI.

    Value = Not CBool(Connection.Variables("FULLSYNC")) And Not (Connection.User.Name.Equals("Synchronization", StringComparison.InvariantCultureIgnoreCase) And $UID_UNSRootB$ =Connection.GetConfigParm("Custom\RSA\AuthentigationManager\UIDUNSRootB")

    Value = Not CBool(Connection.Variables("FULLSYNC")) And Not (Connection.User.DialogUserUid.Equals("DPR-CC0219C87167B541B70B7CED9263A42D", StringComparison.InvariantCultureIgnoreCase) And $UID_UNSRootB$ =Connection.GetConfigParm("Custom\RSA\AuthentigationManager\UIDUNSRootB")

Reply
  • You are mixing up two things, connection variables, and sync project variables. You cannot test against sync project variables outside of the synchronization run as you are trying to do with your gen. condition.

    But you can try to test against the current user of the connection in your gen. condition.

    You can either compare Connection.User.Name to Synchronization or Connection.User.DialogUserUid with DPR-CC0219C87167B541B70B7CED9263A42DI.

    Value = Not CBool(Connection.Variables("FULLSYNC")) And Not (Connection.User.Name.Equals("Synchronization", StringComparison.InvariantCultureIgnoreCase) And $UID_UNSRootB$ =Connection.GetConfigParm("Custom\RSA\AuthentigationManager\UIDUNSRootB")

    Value = Not CBool(Connection.Variables("FULLSYNC")) And Not (Connection.User.DialogUserUid.Equals("DPR-CC0219C87167B541B70B7CED9263A42D", StringComparison.InvariantCultureIgnoreCase) And $UID_UNSRootB$ =Connection.GetConfigParm("Custom\RSA\AuthentigationManager\UIDUNSRootB")

Children
No Data