Use case id to get relationship for activity creation
Created by: pradpnayak
When using a timeline which sets the activity assignee role by relationship, than the relationship contact is fetched those who doesn't belong to case. For example if a contact has 3 'Target is relationship' (Contact A, B, and C where is C belongs to case X)than when creating activity via time line for Case X than Contact A is assigned to an activity.
No case id was used as filter to fetch relationship contact
Filtered using case id.