Last Updated: Sep 13, 2021
Any Jiffy Task can be triggered through an external application provided the application is based on a REST API.
For every task, the API URL is available in the Actions tab of the Start node. You can use this to trigger tasks from an external application. You can add the required input parameters in the Start node so that the values can be mapped from the external application.
In the external application, for example, in Postman application,
To get the tenant id, use:{url of the tenant}/ gus/api/jls/tenantInfo/subdomain/{tenant name}.
https://tenant.demo.jiffy.ai/gus/api/jls/tenantInfo/subdomain/tenant returns {“status”:true,“token”:“”,“error”:null,“data”:{“tenantId”:2,“isExpired”:false}}