As part of some previous action in workflow return WorkResponse containing @Work OpenedClaim form to different Rooms/Users
Observe rooms where you sent above response including "Claim Approval Room PK" and even individual user chat
Expected Result:
ChatButton action is limited to room(s) mentioned in rooms attribute of @ChatButton
If rooms attribute is skipped then action should be visible in all rooms
Actual Result:
Approve ChatButton action from above example is not restricted to rooms mentioned in rooms attribute of @ChatButton
Approve action is also visible in individual user chat (see screenshots below)
Further, on click of Approve button, action is invoked if initiator is a User. However, ignored when its from SymphonyRoom (secondary issue as primary one exists)
Secondary issue can be addressed in ChatButtonChatHandlerMapping.createMappingRegistration -> canBePerformedHere() by adding below check Or fixing just primary issue -
Bug Report
Steps to Reproduce:
WorkResponse
containing@Work OpenedClaim
form to differentRooms/Users
Expected Result:
rooms
attribute of@ChatButton
rooms
attribute is skipped then action should be visible in all roomsActual Result:
rooms
attribute of@ChatButton
User
. However, ignored when its fromSymphonyRoom
(secondary issue as primary one exists)ChatButtonChatHandlerMapping.createMappingRegistration -> canBePerformedHere()
by adding below check Or fixing just primary issue -Environment:
Version 8.0.1+
Additional Context:
As seen in expected Claims Approval room
As seen in other rooms
As seen in User chat