03-28-2020, 08:13 AM
Hi!
In your notification/dates you already have some context which you can access through "input" variable.
from pyasm.search import Search
search_key = input['search_key']
sobject = Search.get_by_search_key(search_key)
print(sobject.get_value('asset_type'))
In your notification/dates you already have some context which you can access through "input" variable.
from pyasm.search import Search
search_key = input['search_key']
sobject = Search.get_by_search_key(search_key)
print(sobject.get_value('asset_type'))