Conversion table
Use a conversion table to let a process in Orchestra turn one value into another, for example a priority into a response time, or a code into readable text. The block works out the result immediately, and the process continues right away. In the palette, the block is called Create a conversion table, under Scripts.
Set up a conversion table
- Under Use value of, choose the tag you want to convert.
- Under Where is the conversion table?, choose In this block (inline table). If you keep the table in a data structure, choose In a data structure of its own (contract).
- Under From - to table, enter on each row the value you expect and the value that replaces it. Click Add to add a row.
- Under In all other cases, choose what happens when no row matches.
- Under Store result in, choose the variable that receives the result.
The example converts the priority of a service request: spoed (urgent) becomes vandaag (today), hoog (high) becomes binnen 2 werkdagen (within 2 business days), and everything else becomes binnen 5 werkdagen (within 5 business days).

How values are compared
Orchestra compares the value exactly with the from column, from top to bottom. The first row that matches exactly wins, so capital letters and spaces matter. You can use tags in both columns.
When no row matches
Under In all other cases, choose one of these options:
- Report an error (there is no fallback): the step stops with an error message. The process instance stops at that step, and StatusQuo shows the message.
- Use an empty value: the result is empty and the process continues.
- Use a fixed value: enter the value under Fixed fallback value. It can include a tag.
Keep the table in a data structure
If you choose In a data structure of its own (contract), select the structure under Source contract (own data structure), together with the Key field (the 'from' column) and the Value field (the 'to' column). With Filter field (optional) and Filter value (optional), one table can hold several sets of conversions. This way you can change the table without changing the process.
Create a new variable
Click the field under Store result in. On the right, choose an existing variable. To create one instead, enter a Variable name under Create new variable tag. Choose the Variable type, the Security level and the GDPR level, then click Create tag.
You can then use the variable in the next steps, such as an email, a task or a gateway.

See also
- Edit a value: edit or calculate a value
- Gateways: decide on the result
- Tags: use data in a process