Hi,
I have an action that gets data from our a job management system. It returns some data, and in that data is a array called “assigneds”. It is an array of people who have been assigned to the job. However, it is a history, so people who are no longer assigned are included. You can see who is still assigned by seeing if the “dateunassigned” field is blank.
I tried using a code step to filter these out but am currently having little luck. I believe this is because the data is not in actual JSON structure for some reason. I tried returning the raw data from the code step and it gives the below.
dateassigned: 2025/10/09
dateunassigned:
org: {'orgid': 'JSdKKyZQLEAgCg==', 'orgname': 'Org'}
readtask: true
readtaskdatetime: 2025/10/27 07:52:39
timeassigned: Oct 9, 2025 9:53:06 AM
timeunassigned:
user: {'userid': 'JSQqVyFRTEwgCg==', 'username': 'Adam P'}
dateassigned: 2025/10/08
dateunassigned: 2025/10/09
org: {'orgid': 'JSdKKyZQLEAgCg==', 'orgname': 'Org'}
readtask: false
readtaskdatetime:
timeassigned: Oct 8, 2025 2:57:42 PM
timeunassigned: Oct 9, 2025 9:53:06 AM
user: {'userid': 'JSQqVyNQXEQgCg==', 'username': 'Aidan F'}I have no experience in Javascript which doesn’t help either.
I appreciate any help you can provide.




