How can I run my plugin both on Create and Update of an entity ? Should I create two steps one with message Update and one with "Create" ?
I'm not quite sure of my understanding of "Steps", are they steps that are performed consecutively or do they represent an "If" like: run this plugin "If" an entity is created and run this plugin "If" an entity is updated ?
You will need to add two different steps but can still point these to the same plugin. Then in the plugin you can check the context.MessageName to see what message has been passed into the plugin and then do different actions depending on the result.
Example for condition check:
if (context.MessageName == “Create”)
{
}
if (context.MessageName == “Update”)
{
}