Re: How to pass a value from @when code to a relation?

2017-06-22 Thread Konstantinos Tsakalozos
Hi, A relation is a good way to pass data between the related charms. If you could share a toy-example of your code we might be able to offer more assistance. Thank you, Konstantinos On Wed, Jun 21, 2017 at 10:33 PM, fengxia wrote: > Hi Juju, > > I'm designing an

How to pass a value from @when code to a relation?

2017-06-21 Thread fengxia
Hi Juju, I'm designing an application, where charm A and B are linked by a A-B relation. In A there are a few states, and I want to parse a file to extract some values, then pass these values to charm B to consume. How do I make these values available to B then? via relation? or other mean?