SNC.AssetMgmtUtil.isPluginRegistered('com.snc.procurement')

KMirza
Tera Contributor

Hi,

 

I came across this api call 'SNC.AssetMgmtUtil.isPluginRegistered('com.snc.procurement')' in one of OOB workflow (i.e. Procurement Process Flow - Mobile). I want to see how this utility SNC.AssetMgmtUtil is defined.

But I cannot see this utility in script include. how do I see the definition of this function in utility class?

 

Regards,

Khurram.

1 REPLY 1

pavani_paluri
Giga Guru

Hi @KMirza ,

 

SNC.AssetMgmtUtil is a platform-level Java utility, not a Script Include.

You can call its methods, but not edit/see source.

To inspect: use Scripts - Background with Object.keys() / gs.info() or check API docs.

The method isPluginRegistered() is used to check if a plugin is installed.

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P