Wait until ADSAccount is created

Hello,

I have a process that calaculate and update an attribute in ADSAccounts based on Busienss Roles.

When the process is triggered, i want :

1- check if an ADSAcount already exist (even disabled)

   if yes, then compute the new value of attribute

 if no, wait until and ADSAccount is inserted (given by the Business roles, but takes up to 30 seconds)

So i want to implement this in a process : Wait until an ADSAccount is inserted

Any isea which component can provide this possibility?

Thank you by advance

Parents Reply Children
  • Thank you so much

    Added the component as a step

    but i don t know what to put here in those params :

    AuthenticationString    Value = ConnectionInfo.AuthString   

    CausingEntityPatch    Value = DPR_WrapObjectForProjection(Entity)  

    ConnectionProvider    Value = ConnectionInfo.ConnectionProvider   

    ConnectionString    Value = ConnectionInfo.ConnectionString   

    UID_DPRProjectionConfiguration    Value = values("UID_DPRProjectionConfiguration").ToString()   

    UID_DPRSystemVariableSet    Value = values("UID_DPRSystemVariableSet").ToString()   

    I have uid_person from precedent step, and i want just to check if an ADSAccount exists using uid_person or Wait until one is inserted..

  • That is a projection step by the looks, you want the ObjectExists step

  • Hi,

    the parameters are all correct if you generate the process on base object ADSAccount (i.e. the ADSAccount to wait for). If there is a configured synchronization project for the ADS Domain the parameters are populated with the values from sync project. To make the values available you have to run some preparation in pre script of your process.You may copy this pre script from process "ADS_ADSAccount_READ".