Saved object properties in workflow

Hi,

Does anyone know if its possible to have two saved object properties in a single workflow. 

To give context, the first saved object is configured for "Workflow target" (i.e. the user) and targets email address, company etc. 

The second saved object is configured for "Manager of workflow target" and targets the users managers email address etc. 

The reason for trying to get both saved objects into a workflow is so that we can get a user, convert their mailbox to shared (exchange online) and then give their manager full access. 

Thanks in advance.

Parents
  • You can save as many properties as you want and then refer to them later.

    Think of that workflow Activity as an object itself with as many properties as you want.

    Conceptually:

    Activity:  My Saved Object Properties, Property:  Property1

    Activity:  My Saved Object Properties, Property:  Property2

    Activity:  My Saved Object Properties, Property:  Property3

    Having said that, I've never tried to reference a saved object property in a notification activity.  I don't think you can do that because saved object properties are not one of the available "classes" that you can reference as far as  I know.

    You can use/reference a saved property from a script activity though...

    Using my example above:

    $Property1Contents = $Workflow.SavedObjectProperties("My Saved Object Properties").get("Property1")

  • Hi Johnny,

    thanks for the reply.

    if you have two separate saved properties, say userdetails and managerdetails and you want to reference the email address from userdetails and manager name from managerdetails are you able replicate that in your script example with it working? 

Reply Children
No Data