Jump to Content
Onify SupportHomeGuidesBlueprintsCommunityChangelogAPI ReferenceGet support
HomeGuidesAPI ReferenceChangelogCommunity
HomeGuidesBlueprintsCommunityChangelogAPI ReferenceGet supportLog InOnify Support
Log In

Community

Ask a Question

How do I run onifyElevatedApiRequest from a script task?

I am trying to run `onifyElevatedApiRequest` from a script task using users token but it does not work. Is it possible to run from a script task? This is what I am trying to do: ```javascript let onifyHeaders = { 'Content-Type': 'application/json', 'Authorization': environment.settings.authorization } var resourceOptions = { url: `admin/resources/file?stream=false&path=${templatePath}`, headers: onifyHeaders } let result = await environment.services.onifyElevatedApiRequest(resourceOptions); ```
flowbpmnscriptworkflows
Posted by Robert Lundsten over 1 year ago
  • FAQs
  • Recent
  • Popular
  • Unanswered
1.26.0actionactionsadfsagentanalyticsansibleapibankidblueprintbootstrapbpmnbulkbulletinbulletinscertcloudconnectorcontainercontent managementcookiecsscustomcustomizationdashboardsdata sourcedeploydockerdocument managementdownloadelasticsearchencodingexportfeature implementedfeature requestfeaturesfilesfirewallflowformsfunctionsgeneralgitgoogleiconsindexinginfraintegrationitemitemsk8sknowledge basekubernetesloginlogsmappingsmemorymicrok8smonitoringngnixopenshiftoperationsospdfportspower bipowershellprintprocessesprometheuspugpythonqlikresourcesrestapirsssamlscriptsearchservicenowshortcutssidebarsortsshsslssotlstooltipstransformtranslationunmanagedupgradeuservideowidgetsworkflowworkflowsworkspaceworkspaceszendesk