Hi Mohamad,
Unfortunately, there is not an equivalent script method once in an incident. We do have an app, fn_soar_utils.search_incidents which can be used in a similar way. I think this is a good idea which would be a good enhancement if you'd like to request it in our ideas portal: https://ideas.ibm.com/
Regards,
Mark
------------------------------
Mark Scherfling
------------------------------