The traveling employee crate honors the m365_usage_location variable, it is my understanding this is limited to a single country.
Some tenants require the workflow created travel policy to include more than one default country to be added to the policy, along with the excluded travel destination(s).
If something like this or similar could be added, could it allow those options?
------------
Have the Traveling Employee "Setup" form also include a section to re-use the ISO Countries template to set/update an organization variable like "traveling_employee_default_countries" as a list:
json
["US", "CA", "GB"]
------------
Then perhaps modify the generate_options task's publish statement to check against the list:
jinja
{{
[
{
"id": country.value,
"label": country.value ~ " - " ~ country.label,
"default": country.value|upper in (ORG.VARIABLES.traveling_employee_default_countries|d([ORG.VARIABLES.m365_usage_location|d("")]))|map('upper')|list
} for country in CTX.formatted_json
]
}}
------------