doAction

The function is called when the SDK request an operation on the context.