Skip to main content
Solved

Problem when using the FndStreamMessages EntitySet of the StreamSubscriptions projection


Forum|alt.badge.img+13
  • Hero (Partner)
  • 149 replies

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,

Best answer by TheoB

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!

View original
Did this topic help you find an answer to your question?

6 replies

Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 149 replies
  • March 23, 2023

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


BawTrishM
Sidekick (Partner)
Forum|alt.badge.img+6
  • Sidekick (Partner)
  • 17 replies
  • April 28, 2023

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


Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 149 replies
  • Answer
  • April 28, 2023

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!


BawTrishM
Sidekick (Partner)
Forum|alt.badge.img+6
  • Sidekick (Partner)
  • 17 replies
  • May 15, 2023

@TheoB ,

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

Best Regards,
Trishen


Forum|alt.badge.img+7

Hi ā€‹@TheoB ,

is not working anymore it seems :(, do you have the same issue or any other solution?

Thank you

The IFS Cloud version we have is 24.1.1


Forum|alt.badge.img
  • Do Gooder (Partner)
  • 1 reply
  • March 11, 2025

Hi ā€‹@TheoB ,

Iā€™m having this same error as mentioned above. Is there any solution.

Thanks in advance.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings