Home

Results 1 to 8 of 8

Thread: remove association on failed first sync

Threaded View

  1. #1
    Join Date
    Feb 2011
    Posts
    195

    remove association on failed first sync

    I have a text driver that contains several conditions in the ETP that must be met before an account can be created..at the end of all those rules I have a veto, meaning if you didn't get granted the ability to have an account created in the destination txt file then veto. The issue is that the association gets created on the account, incomplete of course.....as it has a value of either 3 or 4, but I don't like my accounts having that on there. I am successfully able to remove the association on the accounts that do have a valid association but when certain conditions are met and account has changed and it no longer needs to sync.

    The trace below is from an account that I did a migrate on but it should not sync to my driver...it was vetoed like it should have been but the account has an incomplete association value with a value of 3 and that is what I want to prevent. I hope this makes sense......

    08:54:03 AE533700 Drvrs: DriverName ST: Evaluating selection criteria for rule 'Veto'.
    08:54:03 AE533700 Drvrs: DriverName ST: Rule selected.
    08:54:03 AE533700 Drvrs: DriverName ST: Applying rule 'Veto'.
    08:54:03 AE533700 Drvrs: DriverName ST: Action: do-if().
    08:54:03 AE533700 Drvrs: DriverName ST: Evaluating conditions.
    08:54:03 AE533700 Drvrs: DriverName ST: (if-association available) = FALSE.
    08:54:03 AE533700 Drvrs: DriverName ST: Performing else actions.
    08:54:03 AE533700 Drvrs: DriverName ST: Action: do-veto().
    08:54:03 AE533700 Drvrs: DriverName ST:Policy returned:
    08:54:03 AE533700 Drvrs: DriverName ST:


    This is the rule that I have in the ETP
    <rule>
    <description>Veto</description>
    <comment xml:space="preserve">Veto</comment>
    <conditions>
    <and/>
    </conditions>
    <actions>
    <do-if>
    <arg-conditions>
    <and>
    <if-association op="available"/>
    </and>
    </arg-conditions>
    <arg-actions>
    <do-remove-association direct="true">
    <arg-association>
    <token-association/>
    </arg-association>
    </do-remove-association>
    </arg-actions>
    <arg-actions/>
    </do-if>
    <do-veto/>
    </actions>
    Last edited by wferguson; 21-Aug-2017 at 02:09 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •