What is the merge syntax for all ids in a model?

I’m trying to use the Run Custom Apex Action in the action framework, and my InvocableMethod, like all InvocableMethods, starts with a list of Ids. Is there a way to use Merge Syntax to return all the Ids for all objects in a given model?

Fair warning that I haven’t tested this with an Invocable Method, but I think this might work or at least get you close. If your model’s name was Opportunities, for instance…


You’ll get a trailing comma this way for sure, and since this is a Global Context merge, the last/first functions aren’t available, unfortunately. Does that help?