Skip to main content
A specification file is an Excel document that outlines the client’s requirements for the workflow. It serves as a guide for developers, detailing what the workflow should accomplish. The file is composed of the following sheets:

Workflow

The workflow sheet defines the workflow’s name, as well as the organization’s name.
A screenshot of the BPMN diagram of the workflow is also provided.
The groups sheet defines the groups that will be available in the workflow.
Group idGroup nameIs it a system?
clientClientno
cookCookno
This sheet is not exhaustive and might be empty if groups are provided by an external source (Studio data repository or Excel).
The actions sheet defines the actions that will be available in the workflow.
Action nameAction idAction typeGeneric actionIs a starting point?
Place orderplaceOrderformnoyes
Receive orderreceiveOrderformnono
Commentcommentformyesno
The forms sheet defines the forms that will be available in the workflow.
GroupActionFieldTypeMandatoryConditionalSourceOrderPre-fill
ClientEatRatingshort textyesnoN/A1no
ClientEatCommentlong textyesnoN/A2no
ClientPlace orderSelect a mealdropdownyesnoPizza, Pasta1no
ClientPlace orderTypedropdownyesyes2no
ClientPlace orderCommenttextnonoN/A3no
CookReceive orderReviewcheckboxesyesnoN/A1no
CookReceive orderCommenttextnonoN/A2no
The trace state sheet outlines the structure of the data stored in the state and serves as a guide for defining the type of the workflow’s state data in the state.type.ts file.
FieldIs a custom variable?TypeObjectives
clientNameyesstringRecorded during the first action
status.valueyesstring
status.progressyesnumber
selectedMealnostring
mealTypenostring
commentsyeslist
isAcceptedyesboolean
isClosedyesboolean
ratingnonumber
The state sheet is not exhaustive, additional fields can be added if necessary.
The trace state update sheet outlines the minimal state data modifications required during the execution of an action’s effects.
Action nameConditionUpdated valueUpdate effectTrace state variable
Receive orderaccepted is false0,2replacestatus.progress
Receive orderaccepted is falseOrder declinedreplacestatus.value
Receive orderaccepted is true0,6replacestatus.progress
Receive orderaccepted is trueReady to eatreplacestatus.value
Receive order[accepted]replaceisAccepted
Place order0,2replacestatus.progress
Place orderWaiting for acceptationreplacestatus.value
Place order[meal]replaceselectedMeal
Place order[type]replacemealType
Place orderfalsereplaceisClosed
Place order(get from meta)replaceclientName
Eat order[rating]replacerating
Eat order1replacestatus.progress
Eat orderDonereplacestatus.value
Eat ordertruereplaceisClosed
The trace notes sheet defines the structure of the trace infos pannel.
CategoryField NameData typeTrace state fieldOrder
General InformationStatusStatus Widgetstatus1
General InformationClient namestringclientName2
General InformationRatingnumberrating3
Order informationsSelected mealstringselectedMeal1
Order informationsSelected typestringmealType2
CommentsCommentsComment widgetcomments1
The overview sheet outlines the structure of the workflow’s overview table.
OrderColumn tableTrace state fieldFormatting system
1Nametrace namelink wrapper
2Statusstatusstatus
3Client nameclientName
4Selected MealselectedMeal
5Selected typemealType
The notifications sheet defines the notifications that will be available in the workflow.
Workflow specifications are not set in stone. You are free to make adjustments to suit the workflow’s needs, provided its behavior remains aligned with the specifications.