-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support broadcast in FDC3 Action #1353
Comments
Seems a reasonable addition. As neither of the new properties, However:
|
Hi @kriswest Thank you for your comments.
I totally agree with your remarks 👍
I suggested using an object because I noticed that a channel can have other properties such as type and displayMetadata. |
@symphony-jean-michael the additional properties of a channel are not used by the API (which only ever takes the channelId as an argument). The additional values are only provided for display purposes. The one exception is a private channel, which can't be retrieved by id, you have to raise an intent and receive that back. While the additional |
P.S. we're about to try and close the FDC3 2.2 scope - this is not a big change but would need to go onto a PR and the change be agreed this Thursday. Otherwise, it can be agreed and merged post 2.2 and you can start using before it comes out in a later standard version. |
Thanks @kriswest for the explanation. |
Enhancement Request
Use Case:
Today, in Symphony, the user can send a chat message using the FDC3 StartChat intent.
ℹ️ The format of the message can be found here : https://fdc3.finos.org/docs/context/ref/Message.
A great FDC3 feature is the ability to attach entities to the message. This is defined in the FDC3 action.
Example: The user can send an FDC3 message containing a button. When the user clicks on the button, it will trigger the FDC3 action attached to the button. This is the entity defined in FDC3.action.
See example in the standard: https://fdc3.finos.org/docs/context/ref/Action#example
This works perfectly. But today, some of our customers would also like to broadcast a context instead of raising an intent. But the current FDC3 action format doesn't allow this for now.
In the FDC3 specification, you can read :
(From https://fdc3.finos.org/docs/context/ref/Action)
Workflow Description
So, we would like to suggest an update of the FDC3 action to support the broadcast.
We propose to modify the current table of FDC3 Action properties. Our modifications are shown in bold.
The action field indicates the type of action:
fdc3.rainseIntent
/fdc3.raiseIntentForContext
fdc3.getOrCreateChannel('Channel 1')
to retrieve the channel, then broadcast the context to that channel withchannel.broadcast(context)
. If no, channel has been specified, it will try to broadcast to the current channel (fdc3.getCurrentChannel()
)Workflow Examples
Here is the Action example updated :
What do you think ?
Thank you
The text was updated successfully, but these errors were encountered: