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

How de we identify a Process as API or UI?

I have tried to use the Trigger.isApi() call as well as Trigger.isUI(), but the Trigger compiler does not appear to understand these two methods/Fields (booleans?).


I simply want a field/property I can query to tell me who is the author:  UI or external process.





I am interested in this as well. There should be a easy way to check if the request is UI or API one would think.