web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Pass Shared Variables from action to plugin

(0) ShareShare
ReportReport
Posted on by

Information:

Pre-Operation (stage 20) registered Action A : message = custom message , entity = custom entity X

Post-Operation (stage 40) registered Plugin B : message = create , entity = custom entity X



Is it possible to pass a IPluginExecutionContext.SharedVariables shared variable from this action A to this plugin B ?

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hello,

    I'm afraid that you can't. By definition a sharedVariable pass from a plug-in to a step that occurs later in the execution pipeline. Please check the doc: docs.microsoft.com/.../understand-the-data-context

    I had the same scenario, i added a new technical field to store "my sharedVariable".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans