26 oktober 2023 TimeXtender Job Scheduling with Qlik Application Automation Deel dit bericht In this post we show you how to trigger a TimeXtender job using Qlik Application Automation. Even if you don’t (yet!) use TimeXtender this might be of interest to you, as we cover a very common scenario: triggering a remote process via an API, waiting for it to finish and checking the result. Along the way we’ll also share some Qlik Application Automation tips. The challenge We at Bitmetric love using TimeXtender, an agile, low-code platform for Data Warehouse Automation. As TimeXtender consultants, we use it to build robust and scalable data foundations, with full documentation and auditability. Of course, what better place to present all that beautifully structured data than in Qlik Cloud? In a typical scenario, we first want to ingest data into the Data Lake, then update the Data Warehouse. Finally, we present the data in Qlik Sense. 💡 If you want to know more about TimeXtender, we have a webinar coming up soon. The challenge is that both environments have their own schedulers for jobs. As the Qlik scheduler doesn’t know when the TimeXtender job is done, we include a safety margin. That way, we’re relatively sure that all processing in TimeXtender is finished before we start loading data into Qlik Sense. While not the most efficient method, it does get the job done, most of the time… A better approach: Qlik Application Automation Qlik Application Automation is Qlik’s no-code automation builder. While frequent use cases are triggering downstream alerts and processes and automating administrative tasks within your Qlik tenant, with all its integrations and building blocks the possibilities for automation are limited only by your imagination. It’s quickly become a favorite feature here at Bitmetric. In this example, we’ll use Qlik Application Automation call multiple TimeXtender APIs to do the following: Initiate a TimeXtender job by making a call to the TimeXtender job execution AP Wait until the job is done by monitoring the TimeXtender job status API Determine the next steps based on the job’s success or failure, by examining the TimeXtender job logs through the API Let’s see how each of these steps work in Application Automation, and learn some automation tips along the way! Step 1: start the TimeXtender job To access the TimeXtender API and start our job, we need two things: an API key and a Job Id. We store these in a variable so we can reuse them in the various API calls. Next we call the Job Execution API. This starts the job, if it’s not running already, and returns a Trigger Id. We can use this Trigger Id to retrieve the logs of the job in step 3. After the job is started, we go to the next step. 💡 Using labels to separate different steps in your automation is a good way to keep everything readable and organized. Step 2: loop while the job is running TimeXtender provides a separate API endpoint to check the status of a job. In this step we call that API and check the result. If the job has finished, we go to the next step. If it hasn’t, we wait 30 seconds, loop back and then check again. 💡 Though there are loop blocks in Application Automation, these can only be used to process a list, not as a for-loop or while-loop. However, we can still build these loops using labels. In the flow on the left, as long as the job has not finished we jump back to the label at the beginning of the loop. Creating a de facto while-loop. Those who’ve been around coding a bit longer may recognize labels as Goto statements. Step 3: check the result of the TimeXtender job In the final step, we use the Trigger Id that we stored in step 1 to retrieve the logs for the job execution. Based on the result, successful or failed, we finish the job or raise an error. 💡 Of course, we can take many other interesting actions at the end of this automation. For example: start subsequent Qlik Sense reloads tasks or send a notification to Slack with the job results. Whatever fits your process! Sharing Qlik Application Automations After creating an automation, you can save it as a reusable template. This allows you to reuse the same logic to run different TimeXtender jobs. You can also share this template with others within your Qlik tenant. 💡 Remembers to remove sensitive data from the automation before publishing it as a template or exporting the workspace. In this example you want to blank out the API key and Job Id. You can also share the automation outside of your Qlik tenant. To do this, right click in the automation and select Download workspace. This downloads a JSON file with the definition of the automation, which you can upload to another Qlik tenant using Upload workspace. Want to try this automation yourself? Get started by downloading it here. Need help integrating or automating your TimeXtender environment? Our TimeXtender consultants can help with implementation, integrations and optimization. More from the Bitmetric team Bitmetric Qlik Support Keep your Qlik environment running smoothly with proactive support that prevents issues before they appear. Available on flexible monthly plans. Learn more. Qlik vs Power BI Series See how Qlik and Power BI perform when theory meets reality. Three apps rebuilt, every step examined. Learn more. API Automatisering Qlik TimeXtender Hoe kunnen we je ondersteunen? Barry beschikt over meer dan 20 jaar ervaring als architect, developer, trainer en auteur op het gebied van Data & Analytics. Hij is bereid om je te helpen met al je vragen. Bel ons Mail ons 1 september 2026 Qlik Answers-review: wat we leerden van tests in de praktijk We testten Qlik Answers op een echt verkoopmodel in productie om te zien hoe het omgaat met analytics in de praktijk. De resultaten waren veelbelovend, maar voor betrouwbare antwoorden moesten we zorgvuldig werken aan het logische model, mastermetingen, dimensies en de bedrijfscontext. AI Data-analyse Qlik Semantic Layer 25 augustus 2026 Je semantische laag wordt de API voor AI Semantic layers zijn niet nieuw, maar AI geeft ze een nieuwe rol. Waar ze vroeger vooral dashboards voedden, worden semantic models steeds meer de laag waarmee AI betrouwbare businesscontext krijgt. AI Data Governance Microsoft Fabric Qlik Semantic Layer TimeXtender 18 augustus 2026 Datavisualisatie aan het begin van de 20e eeuw Verken samen met ons de oorsprong van datavisualisatie aan de hand van de baanbrekende boeken van Willard C. Brinton uit het begin van de 20e eeuw. Ontdek tijdloze principes en de ontwikkeling van technieken voor visuele datapresentatie. Een aanrader voor zowel liefhebbers als professionals. Volledig toegankelijk via het Internet Archive Datageletterdheid E-book Visualisatie
1 september 2026 Qlik Answers-review: wat we leerden van tests in de praktijk We testten Qlik Answers op een echt verkoopmodel in productie om te zien hoe het omgaat met analytics in de praktijk. De resultaten waren veelbelovend, maar voor betrouwbare antwoorden moesten we zorgvuldig werken aan het logische model, mastermetingen, dimensies en de bedrijfscontext. AI Data-analyse Qlik Semantic Layer
25 augustus 2026 Je semantische laag wordt de API voor AI Semantic layers zijn niet nieuw, maar AI geeft ze een nieuwe rol. Waar ze vroeger vooral dashboards voedden, worden semantic models steeds meer de laag waarmee AI betrouwbare businesscontext krijgt. AI Data Governance Microsoft Fabric Qlik Semantic Layer TimeXtender
18 augustus 2026 Datavisualisatie aan het begin van de 20e eeuw Verken samen met ons de oorsprong van datavisualisatie aan de hand van de baanbrekende boeken van Willard C. Brinton uit het begin van de 20e eeuw. Ontdek tijdloze principes en de ontwikkeling van technieken voor visuele datapresentatie. Een aanrader voor zowel liefhebbers als professionals. Volledig toegankelijk via het Internet Archive Datageletterdheid E-book Visualisatie