function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lauren Hartley 9Lauren Hartley 9 

Issue with error when debugging a scheduled flow

Hi, I am trying to build a flow which will update a checkbox on the user record to indicate if a permission set has been assigned or not. This is then used for Communities reporting.

I ran the flow as a scheduled flow pulling from the PermissionSetAssignment object and relating it to the user by using the Assignee ID of the user. However when I try and debug the flow I get the below error and I am not sure why.

;nested exception is: common.exception.ApiQueryException: = 'permissionsetID' ) ORDER BY CreatedDate ASC LIMIT 1 ERROR at Row:1:Column:93 No such collumn 'CreatedDate' on entity 'PermissionSetAssignment'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name, Please reference your WSDL or the describe call for the appropriate names.

Can anyone help dechipher the above please? we have not referenced any of these fields in the flow so not sure why it is throwing an error.

Any help would be greatly appreciated.
Sam Richardson-VineSam Richardson-Vine
Did you ever find a solution for this? I'm also facing the same error.
Lauren Hartley 9Lauren Hartley 9
no sorry, can only assume it isn't a possibility.