You need to sign in to do that
Don't have an account?
VHU
Process Builder Error with public calendars
I have a process builder flow that updates a field on the event (Reporting Group) based of a field (User Group) in the user record. These fields use a shared picklist, so the values are the same.
The criteria for the workflow is when the User Group for Event Owner is not Blank, update the Reporting Group with the User Group value. The workflows works fine except when I tried to add an event to a public calender. The user gets an error and the record does not save. I get the follow error report blow:
How can I edit the criteria to exclude the public calendars? Thanks in advance for any help.
Error element myDecision (FlowDecision).
The flow failed to access the value for myVariable_current.Owner:User.User_Group__c because it hasn't been set or assigned.
This report lists the elements that the flow interview executed. The report is a beta feature.
We welcome your feedback on IdeaExchange.
Flow Details
Flow Name: Reporting_Group_Workflow_for_Event
Type: Workflow
Version: 1
Status: Active
Flow Interview Details
Interview Label: Reporting_Group_Workflow_for_Event-1_InterviewLabel
Current User: User (user id)
Start time: 3/24/2017 4:03 PM
Duration: 0 seconds
How the Interview Started
User (user id)started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = null
myVariable_current = ID
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "3/24/2017 4:03 PM"
Salesforce Error ID: 1868947039-141078 (-223288854)
The criteria for the workflow is when the User Group for Event Owner is not Blank, update the Reporting Group with the User Group value. The workflows works fine except when I tried to add an event to a public calender. The user gets an error and the record does not save. I get the follow error report blow:
How can I edit the criteria to exclude the public calendars? Thanks in advance for any help.
Error element myDecision (FlowDecision).
The flow failed to access the value for myVariable_current.Owner:User.User_Group__c because it hasn't been set or assigned.
We welcome your feedback on IdeaExchange.
Flow Details
Flow Name: Reporting_Group_Workflow_for_Event
Type: Workflow
Version: 1
Status: Active
Flow Interview Details
Interview Label: Reporting_Group_Workflow_for_Event-1_InterviewLabel
Current User: User (user id)
Start time: 3/24/2017 4:03 PM
Duration: 0 seconds
How the Interview Started
User (user id)started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = null
myVariable_current = ID
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "3/24/2017 4:03 PM"
Usually, this error occurs when a process that makes a cross-object reference will fail when the foreign key (i.e. relationship field) the reference depends on is not populated.
Please refer below knowledge article from salesforce that can help you.
https://help.salesforce.com/articleView?id=000212174&type=1
Hope this helps you!
Thanks and Regards
Sandhya
Sandhya,
Thanks for the additional information this error. Unfortunately, since it's a Public Calendar, the error still get triggered when I try to exclude that User Group in the criteria section.
Do you know if there's a way to exclude the rules from triggering with Public Calendars?
Thanks for any advise,
Virgil
Please refer below link.
https://automationchampion.com/2015/03/24/getting-started-with-process-builder-part-13-post-to-chatter/
Thanks and Regards
Sandhya