Last updated March 30, 2020
Add rich-text Work Instructions to tasks in the task configuration panel
Bring your contributors’ attention to task-specific instructions without making them flip through packets of documents unrelated to the task at-hand.
At a Glance:
Keep in mind, this is an alpha release with more editing features (including a formatting toolbar!) coming soon. In the meantime, all existing functionality is available using the following formatting notation.
Best Practice: Write all content before adding formatting
**Bold**
_Italicize_
~Strike~
`Pre-formatted text
`
Unordered List:
- Do this
Ordered List:
Do this
Checkboxes:
- [ ] One to-do item
- [ ] Another to-do item
Checkbox Notes: 1) When adding a checkbox a bullet point will appear after the first space, and 2) a space is required between the brackets
Click the (+) Add Image
button to attach an image
Reference contextual data from the order or task using jexl (Javascript Expression Language) notation of {{jexl-formatted-template
}} jexl documentation.
This contextual data can be presented with any formatting, but FactoryFour recommends using pre-formatted text
or bold formatting as a standard to emphasize the value is variable.
The full context of the task is available to the work instructions, but some of the most common templates are listed below:
order.tags[.key=='Tag Group Name w Spaces'].values
}}tags[.key=='Tag Group Name w Spaces'].values
}}datapoints[.type== 'datapoint_key_with_underscores'].value
}}order.dates.due
}}order.dates.needed
}}order.dates.submitted
}}task.duration
}}task.lastStatusChange
}}task.timeLeftStandby
}}{
task(id) {
id
name
code
key
dependsOn
status
workflowParent
currentMembers
workflowMember
workflowMemberObj {
id
name
parent
parentDatapoints {
type
content
}
dates {
timestamp
code
title
}
}
assetConfiguration
workflowInitiator
workflowInitiatorObj {
id
name
baseCode
metadata
}
order: parentObject {
... on order {
userDefinedIdentifier
dates {
needed
due
submitted
}
tags {
key
values
}
datapoints {
type
value
content
}
}
}
parent
type
format
active {
user
timestamp
}
allocated
allocations {
day
duration
assigned
}
documentData
duration
lastStatusChange
tags {
key
values
}
position {
x
y
}
timeLeftStandby
activeTime {
userSessions {
user
time
}
}
}
}