Hi,
We are trying to setup a workflow where the same action an be triggered either using a Custom Command or from a Business Rule. The Custom Command has been written and works as expected. However, when we try and set this up to be triggered via a Business Rule triggered by the change of an AD property, we are unable to retrieve the new AD property value to use in the custom command.
So my question is, how can we reference the 'ExecuteScriptContext' of a Business Rule inside a Custom Command, if that Custom Command is called via a Business Rule? Basically, we need to use $Context.GetModifiedPropertyValue inside the Custom Command but it is empty (inside the Business Rule it isn't)