Skip to content

Commit 0da2d7b

Browse files
Merge pull request #104397 from sarahhubbard/jobsgafeb
updated ux
2 parents ce60a66 + 05ce059 commit 0da2d7b

File tree

8 files changed

+29
-25
lines changed

8 files changed

+29
-25
lines changed

articles/iot-central/core/howto-run-a-job.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Create and run jobs in your Azure IoT Central application | Microsoft Docs
3-
description: Azure IoT Central jobs allow for bulk device management capabilities, such as updating a device property, setting, or executing a command.
3+
description: Azure IoT Central jobs allow for bulk device management capabilities, such as updating properties or executing a command.
44
ms.service: iot-central
55
services: iot-central
66
author: sarahhubbard
@@ -12,57 +12,61 @@ manager: peterpr
1212

1313
# Create and run a job in your Azure IoT Central application
1414

15-
You can use Microsoft Azure IoT Central to manage your connected devices at scale using jobs. Jobs let you do bulk updates to device properties and commands. This article walks you through how to get started using jobs in your own application.
16-
15+
You can use Microsoft Azure IoT Central to manage your connected devices at scale using jobs. Jobs let you do bulk updates to device properties and run commands. This article shows you how to get started using jobs in your own application.
1716

1817
## Create and run a job
1918

20-
This section shows you how to create and run a job. It shows you how to increase the fan speed for multiple refrigerated vending machines.
19+
This section shows you how to create and run a job. It shows you how to set the light threshold for a group of logistic gateway devices.
2120

22-
1. Navigate to Jobs from the navigation pane.
21+
1. Navigate to **Jobs** from the left pane.
2322

24-
2. Select **+ New** to create a new job.
23+
2. Select **+ New** to create a new job:
2524

26-
![Create new job](./media/howto-run-a-job/createnewjob.png)
25+
> [!div class="mx-imgBorder"]
26+
> ![Create new job](./media/howto-run-a-job/createnewjob.png)
2727
2828
3. Enter a name and description to identify the job you're creating.
2929

30-
4. Select the device group you want your job to apply to. You can see how many devices your job configuration will be applied to in the Summary section.
31-
32-
5. Next, choose the type of job to define (property or command). Set up the job configuration by selection the property and setting new values or choose a command. It is possible to add multiple properties at a time.
30+
4. Select the target device group you want your job to apply to. You can see how many devices your job configuration applies to in the **Summary** section.
3331

34-
![Configure job](./media/howto-run-a-job/configurejob.png)
32+
5. Next, choose either **Property** or **Command** as the type of job to configure. To set up a **Property** job configuration, select a property and set its new value. To set up a **Command**, or choose the command to run. A property job can set multiple properties:
3533

36-
6. On the right-hand side, choose the devices you'd like to run the job on. By selecting the top check box, all devices are selected in the entire device set. By selecting the check box near **Name**, all devices on the current page are selected.
34+
> [!div class="mx-imgBorder"]
35+
> ![Configure job](./media/howto-run-a-job/configurejob.png)
3736
38-
7. After selecting your devices, choose **Run** or **Save**. The job now appears on your main **Jobs** page. On this view, you can see your currently running job and the history of any previously run jobs. Your running job always shows up at the top of the list. Your saved job can be opened again at any time to continue editing or to run.
37+
6. After selecting your devices, choose **Run** or **Save**. The job now appears on your main **Jobs** page. On this page, you can see your currently running job and the history of any previously run or saved jobs. Your saved job can be opened again at any time to continue editing it or to run it:
3938

40-
![View job](./media/howto-run-a-job/viewjob.png)
39+
> [!div class="mx-imgBorder"]
40+
> ![View job](./media/howto-run-a-job/viewjob.png)
4141
4242
> [!NOTE]
43-
> You can view the history of your previously run jobs for up to 30 days.
43+
> You can view up 30 days of history for your previously run jobs.
4444
45-
7. To get an overview of your job, select the job to view from the list. This overview contains the job details, devices, and device status values. From this overview, you can also select **Download Job Details** to download a .csv file of your job details, including the devices and their status values. This information can be useful for troubleshooting.
45+
7. To get an overview of your job, select the job to view from the list. This overview contains the job details, devices, and device status values. From this overview, you can also select **Download Job Details** to download a CSV file of your job details, including the devices and their status values. This information can be useful for troubleshooting:
4646

47-
![View device status](./media/howto-run-a-job/downloaddetails.png)
47+
> [!div class="mx-imgBorder"]
48+
> ![View device status](./media/howto-run-a-job/downloaddetails.png)
4849
4950
### Stop a running job
5051

51-
To stop a running job, select it and choose **Stop**. The job status changes to reflect the job is stopped.
52+
To stop one of your running jobs, open it and select **Stop**. The job status changes to reflect the job is stopped. The **Summary** section shows which devices have completed, failed, or are still pending:
5253

53-
![Stop job](./media/howto-run-a-job/stopjob.png)
54+
> [!div class="mx-imgBorder"]
55+
> ![Stop job](./media/howto-run-a-job/stopjob.png)
5456

5557
### Run a stopped job
5658

57-
To run a job that's currently stopped, select the stopped job. Choose **Run** on the panel. The job status changes to reflect the job is now running again.
59+
To run a job that's currently stopped, select it, and then select **Run**. The job status changes to reflect the job is now running again. The **Summary** section continues to update with the latest progress:
5860

59-
![Resumed job](./media/howto-run-a-job/resumejob.png)
61+
> [!div class="mx-imgBorder"]
62+
> ![Resumed job](./media/howto-run-a-job/resumejob.png)
6063

6164
## Copy a job
6265

63-
To copy an existing job you've created, open a job that has been created and select **Copy**. A new copy of the job configuration opens for you to edit. You can save or run the new job.
66+
To copy one of your existing jobs, open it and select **Copy**. A copy of the job configuration opens for you to edit, and **Copy** is appended to the end of the job name. You can save or run the new job:
6467

65-
![Copy job](./media/howto-run-a-job/copyjob.png)
68+
> [!div class="mx-imgBorder"]
69+
> ![Copy job](./media/howto-run-a-job/copyjob.png)
6670

6771
## View the job status
6872

@@ -85,7 +89,7 @@ The status message is followed by an overview of the devices in the job. The fol
8589

8690
### View the device status
8791

88-
To view the status of the job and all the affected devices, select the job. To download a .csv file that includes the job details, including the list of devices and their status values, select **Download job details**. Next to each device name, you see one of the following status messages:
92+
To view the status of the job and all the affected devices, select the job. To download a CSV file that includes the job details, including the list of devices and their status values, select **Download job details**. Next to each device name, you see one of the following status messages:
8993

9094
| Status message | Status meaning |
9195
| -------------------- | ----------------------------------------------------------------------------- |
@@ -94,7 +98,7 @@ To view the status of the job and all the affected devices, select the job. To d
9498
| Pending | The job hasn't yet executed on this device. |
9599

96100
> [!NOTE]
97-
> If a device has been deleted, you can't select the device and it displays as deleted with the device ID.
101+
> If a device has been deleted, you can't select the device. It displays as deleted with the device ID.
98102
99103
## Next steps
100104

362 KB
Loading
410 KB
Loading
153 KB
Loading
400 KB
Loading
343 KB
Loading
352 KB
Loading
273 KB
Loading

0 commit comments

Comments
 (0)