Skip to main content

Hello everyone,

I would like to send a stream message using the "StreamSubscriptions" projection and the "FndStreamMessages" EntitySet.
By doing some tests with Postman, I can send a stream message perfectly but...
It only works when I send a message with 
- Sender : IFSAPP
- Recipient: IFSAPP
or 
- Sender: IFS user
- Recipient: IFSAPP

On the other hand, if I try to send a flow message with :
- Sender: IFSAPP (or IFS user).
- Recipient: IFS user.

I get this error when running my web service:

For information, here is what it has in the body when the error appears (of course the user exists):

{
"FromUser": "TBO",
"ToUser": "TBO",
"Message": "Test",
"Header": "Test",
"Visible": true,
"StreamType": "General",
"Read": false,
"FollowUpCreated": null,
"Url": null,
"Notes": null,
"LuName": null,
"Reference": null,
"ReferencedObjkey": null,
"WebUrl": null,
"ItemId": null
}


Do you have any idea?
Thanks in advance,

Hello,
I would like to re-launch this discussion.
Does anyone have the same problem? Sending a feed message is not possible via BPA?
Thanks in advance,
Theo


Hello @TheoB ,

We are currently encountering the same issue. Seems that you can send the stream message only to the person you are authenticated with.

 

Did you find a solution to this ?

 

Regards,

Trishen


Hello @BawTrishM ,

Yes I found a solution! 

I created a custom projection and deployed this custom action which is based on this PL/SQL procedure : 

Then I just have to call the associated webservice.
 

And it works very well!


@TheoB ,

Thank you for sharing this solution. This would certainly be useful as a generic RestAPI.

Best Regards,
Trishen


Reply