Question

I'm reviewing another's code that does some things when data is shoved from NAV to CRM. I see what he's up to but I'm unclear on the pipeline staging. He uses 10, 20, 40 as stages of something and I don't get if he does something unnecessary or if it's needed.

I haven't ever used those pipeline stages in my plugins but it might have to do with the NAV integrations (Scribe plugin, or something like that).

Is that something anybody else's seen before? What is it good for?

Apparently there's a Stage property in the context of plugin execution interface.

Was it helpful?

Solution

Probably the same plugin is registered in multiple steps with different pipeline (pre-stage, post-stage).

So it uses the Stage property to differentiate the code that needs to be executed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top