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
Nitin B 2Nitin B 2 

Cannot see Apex Class in org but it's visible in process builder

Hi
I came across a weird issue in salesforce that an apex class is visible in process builder but not in the org.

I created new process in process builder.Steps as follows -

1) Click On Immediate Action -> Action Type->Select Apex from drop down.
2)Give a name to Action
3)In Apex Class -> Select one Apex Class.

4)Now here in Apex Class picklist I can see one Entry or class name .This class does exist.

When I am trying to see this in the org in Apex Classes -  it doesn't exist.

Why is it so.

My guess
1)  The class I am seeing in process builder  is not an apex class . It might be some custom setting or trigger etc. 
2) I don't have access to the class .somehow I am seeing this in builder but not available in the org as it's deleted.
3) Its deleted.
4) Its a bug.

I checked on work bench  , recycle bin , custom setting  but got nothing.

What else can be the reason of this behaviour.?
Plz help guys.
Thanks
 
NagendraNagendra (Salesforce Developers) 
Hi Nitin,

Check your list view settings. You are most likely filtering the classes in the list by default.
User-added imageIf it does not Say "All" or has an "Edit View" link then it is not set to the default "All" list that shows everything. Either change the selected view or click edit to review the current filters

Hope this helps.

Regards,
Nagendra.