Use of lookup in webMethods.io connector

Hi

I am unable to figure out how “lookup” will be used in webMethods.io connector. Is it to store ( for eg – credentials of a cloud application) and retrieve for later use ? It will be nice if someone can provide a sample of it.

Thanks,
Vidyesh

Hi Vidyesh,

Lookup are basically an advanced field which are populated with data from user’s account. It doesn’t store any credentials for future use but used the existing authorization selected by user in connector to fetch the details from service.
For eg: A lookup can be created for fetching branch names of a repo. Repo name will be provided by end user and based on that developer will make call to github to fetch branches of that repository.

PS: response for lookup should always be an array of objects

[ { id: string, value: string } ]

Hope this will give you a proper idea about lookup.

Regards,
Pramod