11 Feb 2020
06:38 AM
- last edited on
24 Jun 2021
05:50 AM
by
MaciejNeumann
So I am currently using associated_entity to get the entity of a MSSQL database of which I am creating a plugin:
self.entity = kwargs["associated_entity"]
instance_name = self.entity.properties['mssql_instance_name']
However I see that this is deprecated:
What is the recommendation to use instead?
Solved! Go to Solution.
Use activation_context instead, such as this:
kwargs['activation_context'].value.processes[0].properties['mssql_instance_name']
Any chance of updating the documentation?