Publish tasks
Qlik NPrinting apps contain tasks. Tasks can be used to distribute reports to specific recipients, or schedule data imports.
You need to have an Administrator, Developer, or custom role to create publish tasks. You can manage tasks from the Publish tasks page.
To learn about import tasks, see: Importing users.
Creating a new publish task
Do the following:
- Select Tasks from the main menu, and click Publish task.
- Click Create task.
- Enter a name for the task. For example, the name of the user associated with the task.
- Select an app from the drop-down list.
- Leave Days to keep, Reports to keep, and Enabled at their default values.
-
Under Report security, you can input a Password to open, a Password to write, or both.
This step is optional. Users will need to input these passwords to access reports attached to this task.
- Click Create.
Adding a report to a task
Do the following:
- Go to the Reports tab, and click Add report.
- Select a report from the Choose report drop-down list.
- Select a report format from the Output format drop-down list.
- Select image resolution from the Quality drop-down list.
- Leave the Attach to email and Enabled check boxes selected.
- Click Add report.
Assigning a user to a task
Do the following:
- Go to the Users/groups tab, and click Add user or group.
- Click the Choose recipient drop-down list and select the user that should be assigned the task.
- Select the Enabled, NewsStand destination, and Email destination check boxes.
-
Click Add recipient.
The user is now listed in Users/Groups.
Assigning filters to a task
Do the following:
- Go to the Filters tab.
- Use the arrow buttons to move filters to the Selected items box. These filters will be applied to the task.
- Click Update task filters.
Setting a destination
You can set NewsStand and email as destinations. All the users added in NewsStand have access to the reports that are associated with their profile.
Do the following:
- Go to the Destinations tab.
- Enable the NewsStand check box for all users that should access reports via NewsStand.
- Enable the Email check box for all users that should receive reports via email.
- Click Save.
Creating an email
See: Distributing reports by email
Creating triggers
Triggers manage the automatic execution of tasks.
Do the following:
- Go to the Triggers tab, and click Create trigger.
- Enter a name for the new trigger.
- Set the Schedule type and Start date.
- Select a Time zone.
- Click Create.
To learn more about triggers, see: Creating a distribution schedule.
Adding conditions to a task
You can add conditions only to reports already inserted into tasks. It is not possible to add conditions directly to reports. A report is generated only if related conditions are satisfied.
Do the following:
- Go to the Conditions tab, and click Add condition.
- Select True or False in the Expected result drop-down menu. If you select True the report will be created when the condition is verified. If you select False the report will be created when the condition is not verified. This is useful because, for example, you can add two different report with the same condition and set one true and the other false. So if the condition is satisfied the first report will be distributed, otherwise the second report will be distributed.
- To add anther condition, click the plus symbol, or click Add condition. You can add how many conditions you want.
- Click Save.
To learn more about how Conditions work, see: Conditions.
Running a task
You can now run the task you have created.
Do the following:
- Go to the Overview tab.
-
Click Run now.
A confirmation message appears at the top of the page.
To learn more about how tasks work, see: Task executions.
Running multiple tasks
You can run several tasks at once. You do not have to wait for the next scheduled execution.
Do the following:
- In the top menu bar select Tasks, and then click Publish task.
The Publish tasks page shows all available tasks and related information, including the date and time of task creation, and the most recent update. You can perform actions on multiple tasks at the same time. At the bottom of the list, you can set how many tasks to display at a time.
-
Select one or more boxes to the left of the task names.
To select all tasks, click the top or bottom box.
-
At the bottom of the list, click the Choose action drop-down. The following actions are available:
- Enable: Enables the selected tasks.
- Disable: Disables the selected tasks. The tasks are stored in the repository, but they are ignored by the scheduler.
- Delete: Removes the selected tasks from the repository. You cannot restore a deleted entity.
- Run now: Starts the execution of the selected tasks.
-
Select Run now.
Click Go.
This will schedule all selected tasks for execution. A green message for each task appears above the task list.
Filtering visible tasks
You can filter tasks by View, App, or Date range. You can also search by task name.
The View drop-down list has the following options:
- All tasks: All tasks are visible. This is the default option.
- Corporate subscriptions: Shows only corporate tasks.
- All subscriptions: Shows all subscribed tasks.
- My subscriptions: Shows only tasks subscribed to by the logged on user.
- Enabled: Shows only enabled tasks.
- Disabled: Shows only disabled tasks.
The App drop-down list contains all enabled apps.
There are two Date range drop-down lists:
- Created:
- Created
- Last updated
- All time:
- All time
- Today
- Yesterday
- This week
- This month
- Last 7 days
- Last 30 days
Custom: Lets you set a specific date range.
To search by name, type the name of task you are looking for into the search form on the right. The list of tasks will be dynamically filtered.