none
"Initial flow only" in MvExtension DLL RRS feed

  • Question

  • Is there a way to handle initial flow only in the metaverse provisioning process using a rules extension?

    IMVSynchronisation.Provision(MVEntry mventry)

    only has the metaverse. If the object doesn't exist in the CS of the target MA, that could be used to tell if it's an initial flow but all there is:

    StartNewConnector("user");

    which returns CSEntry.

    If CSEntry is empty, would that mean it's now in intial flow? i.e. does StartNewConnector return a fully populated CSEntry if it's not intial flow (object exists in CS)?

    thanks,

    Alistair

    Thursday, February 13, 2020 11:04 AM

Answers

  • If you want an attribute to be set as initial flow only, it should be done on MVExtension code.

    Setting initial password, for instalce is an example of this usage.

    >>>If CSEntry is empty, would that mean it's now in initial flow?

    this does not guarantee the desired results because you may have the attribute initially null and now its something other than null. 

    >>>i.e. does StartNewConnector return a fully populated CSEntry if it's not intial flow (object exists in CS)?

    Again - this is the code that goes into provisioning code, MVExtension.dll


    Nosh Mernacaj, Identity Management Specialist

    • Marked as answer by AlistairY Friday, February 14, 2020 11:46 AM
    Thursday, February 13, 2020 3:10 PM

All replies

  • I think I may have talked myself into the solution.

    if (mvEntry.ConnectedMAs["MAname"].Connectors.Count == 0){  // this is initial flow}
    if the Count is zero then the object doesn't exist in the CS and it's initial flow
    Thursday, February 13, 2020 11:08 AM
  • If you want an attribute to be set as initial flow only, it should be done on MVExtension code.

    Setting initial password, for instalce is an example of this usage.

    >>>If CSEntry is empty, would that mean it's now in initial flow?

    this does not guarantee the desired results because you may have the attribute initially null and now its something other than null. 

    >>>i.e. does StartNewConnector return a fully populated CSEntry if it's not intial flow (object exists in CS)?

    Again - this is the code that goes into provisioning code, MVExtension.dll


    Nosh Mernacaj, Identity Management Specialist

    • Marked as answer by AlistairY Friday, February 14, 2020 11:46 AM
    Thursday, February 13, 2020 3:10 PM