Salesforce Fact #181 | Pass custom apex defined type from flow to LWC

We can also pass custom apex-defined variable from flow to LWC. In this case, we have to define the property type as apex://namespace.Classname and expose the same variable as @api.

Attached are the screenshots.










Comments

  1. Hello, thanks for this post. Is the opposite possible? Pass an apex defined variable from the LWC to the flow?

    ReplyDelete

Post a Comment

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow