Balises à utiliser dans un rapport Docx (pour les audits)

What Is a Tag?

A tag is a text-based command that will automatically transform into a specified data related to a ticket on an audit event. You can input the desired tags when editing a docx report on Microsoft Word.

In the guide sections below, you can find the list of tags that can be used on audit docx reports:

Note: Before following any the steps below, you must first link a docx report to an audit.

Today’s Date Tag

To display today’s date on a docx report, simply use the following tag:

  • {=today}

Example

docs todays date tag 3

And this is how it appears after we downloaded it from an audit event:

docs todays date tag 2 1

Answer Tags

What Is an Answer Tag?

An answer tag is a tag that is specifically used in an instruction step that includes a product check. With an answer tag, an admin can easily see all of the answers given by an operator (and its supporting details) when they are executing an audit.

Basic Answer Tags

Here’s the list of basic answer tags that you can use in a docx report:

  1. {user}: The full name of the operator that executed the audit.
  2. {instruction}: The name of the instruction step.
  3. {label}: The (formatted) answer that was given by an operator on the instruction step.
  4. {answer}: The (unformatted) answer that was given by the operator on the instruction step. We recommend you to use the {label} answer tag instead, as the generated answer on the docx report is more readable.
  5. {timestamp}: The timestamp for that instruction step’s execution.
  6. {date}: The date on which the audit was executed.
  7. {workinstructionName}: The name of the audit.

All answer tag formulas within a docx report table must begin with {#answers} and end with {/answers}. All other answer tags must be written in between {#answers} and {/answers}, as shown below:

docs basic answer tags 3

Example

For example, these are the answer tags that we included in our docx report (located within the green box):

docs example basic answer tags 1

And this is how it appears after we downloaded it from an audit event:

docs example basic answer tags 2 1

Using Checklists and Crosses to Symbolize True or False Answers

Besides text-based answers shown above, you can also use a checklist symbol to represent a positive answer and a cross symbol to represent a negative answer on your docx report. However, this functionality only works with the OK/NOK check and the Yes/No check.

To do this, on the “Answer” column, instead of writing {answer}, you should write {#answer}✓{/answer}{^answer}✕{/answer} instead. Take a look at the example below:

Example

For example, these are the answer tags that we included in our docx report (located within the green box):

docs example using checklists and crosses 2

And this is how it appears after we downloaded it from an audit event:

docs example using checklists and crosses

Advanced Answer Tags/UUIDs

Besides using standard answer tags, you can also use Universally Unique IDentifiers (UUIDs) on a docx report. Using a UUID allows you to input data from any individual instruction step with a product check that you desire, in any order – into your docx report. This gives you much more flexibility than basic answer tags.

However, unlike a basic answer tag, a UUID doesn’t allow a loop in your docx report. This means that you will have to manually copy the UUID from Azumuta, paste it into your docx report, and then add the answer tag next to the UUID for each cell in the table in your docx report.

How to Find a UUID

Here’s how you can find the UUID for an instruction step in Azumuta:

  1. Click on Audits & Digital Checklists on the homepage sidebar.
  2. Click on Audit procedures.
  3. Click on the targetted audit.
  4. Click on the Docx Reports tab.
  5. You’ll see a set of letters and numbers on a curly bracket under each instruction step that contains a product check. That is a UUID.

docs how to find a UUID

How to Use a UUID in the Docx Report

Here’s how to use a UUID in a docx report:

  1. Copy the desired UUID.
  2. Paste it into the correct cell in your docx report.
  3. Type in the required additional answer tags (see the formulas below) where they are needed.

Here are the answer tag formulas for UUID-based docx reports and the information they display:

  1. {UUID:label}: The (formatted) answer that was given by an operator on the instruction step.
  2. {UUID}: The (unformatted) answer that was given by the operator on the instruction step. We recommend you to use the {UUID:label} answer tag instead, as the generated answer on the docx report is more readable.
  3. {UUID:instruction}: The instruction step name
  4. {UUID:user}: The name of the user account that filled in the check
  5. {UUID:timestamp}: The time when the check was filled

Example

For example, these are the UUID answer tags that we included on our docx report (located within the green box):

docs example how to use a UUID in the docx report

And this is how it appears after we downloaded it from an audit event:

docs example how to use a UUID in the docx report 2

Image Tags

Displaying an Image on a Docx Report

On a docx report, you can display multiple images. Here’s how to display one:

Note: This feature only works with instruction steps that have a picture check.

For an image that was sent by an operator on a product check:

If an operator gave a remark for an image captured during a product check, you can also display the remark using this tag formula:

  • {UUID:remark}

For the {UUID:remark} tag: If there’s a “%” sign at the beginning of the UUID, you should delete it.

Adjusting an Image’s Size

To adjust the width & height to 7.5 cm:

To adjust the width to 10 cm and the height to 5 cm:

  • {%UUID@10×5}

To adjust (only) the height to 6 cm:

  • {%UUID@*x6}

To adjust (only) the width to 6 cm:

  • {%UUID@6x*}

The numbers above are just examples. You can type any number that you desire.

Example

We will use the highlighted instruction step below in our example:

docs example adjusting an images size

These are the tags that we included on our docx report:

docs example image tags 1

And this is how it appears after we downloaded it from an audit event:

docs example image tags 2

Image Padding

Click here to learn more about image padding.

Ticket Tag

What Is a Ticket Tag?

When a ticket is submitted, it becomes visible on its improvement board. Besides that, it’s also possible to display this ticket in a docx report by using a ticket tag.

In this guide section, we will focus on tickets that are submitted on audit events.

The Ticket Tag

Adding a ticket tag to a docx report can be done by adding the following to your docx report:

{#notes}
{#issue}Issue {issue}{/issue}
Workinstruction: {workinstruction}
Block: {block}
{#instruction}Instruction: {instruction}{/instruction}
{note}
{%images@7.5x*}
{/}

You can adjust the image size that will appear on your docx report by editing the part of the tag shown below. Click here to learn about adjusting image size on a docx report.

Example

We copied the tag above and pasted it into our docx report, as shown below:

docs example ticket tag 2

And this is how it appears after we downloaded it from an audit event:

docs example ticket tag 2 2

Recap Tags

What Is a Recap Tag?

A recap tag is a text-based command used to recap key information about an audit event The following information can be sourced using recap tags:

  • The status of an audit that is linked to an audit event.
  • Whether any of the product checks that fall under that audit event have been answered or not.
  • The number of answers to the product checks that fall under that audit event.
  • Whether there’s any issue related to that audit event.
  • The number of issues related to that audit event.

Which Recap Tags Can You Use?

Here is the list of tags that you can use, as well as the information that they will display:

  • {s_the audit’s API attribute}: The status of the audit that is linked to an audit event. Click here to see how you can view an audit’s API attribute.
  • {hasAnswers}: Whether any of the product checks that fall under that audit event have been answered or not.
  • {answerCount}: The number of answers to the product checks that fall under that audit event.
  • {hasNotes}: Whether there’s any issue related to that audit event.
  • {noteCount}: The number of issues related to that audit event.

Example

For example, these are the answer tags that we included in our docx report (located within the green box):

docs example recap tags 3

And this is how it appears after we downloaded it from an audit event:

docs example recap tags 2 1

Rejoignez la révolution du plancher de production numérique !