User: jon@sartography.com clicked save for misc/service-tests/bamboo/bamboo_all_depts_divs.bpmn

This commit is contained in:
sartography-automated-committer 2023-01-06 16:37:32 +00:00
parent abba1fcc3b
commit c1f843bdb1
1 changed files with 33 additions and 33 deletions

View File

@ -14,7 +14,7 @@
<spiffworkflow:unitTests>
<spiffworkflow:unitTest id="Multiple Departments and Divisions">
<spiffworkflow:inputJson>{
"list_metadata": [
"bamboo_list_metadata": [
{
"fieldId": 4,
"manageable": "yes",
@ -126,7 +126,7 @@
</spiffworkflow:unitTest>
<spiffworkflow:unitTest id="No Departments">
<spiffworkflow:inputJson>{
"list_metadata": [
"bamboo_list_metadata": [
{
"fieldId": 1355,
"manageable": "yes",
@ -189,7 +189,7 @@
</spiffworkflow:unitTest>
<spiffworkflow:unitTest id="No Divisions">
<spiffworkflow:inputJson>{
"list_metadata": [
"bamboo_list_metadata": [
{
"fieldId": 4,
"manageable": "yes",
@ -250,7 +250,7 @@
</spiffworkflow:unitTest>
<spiffworkflow:unitTest id="Ignores Other Fields">
<spiffworkflow:inputJson>{
"list_metadata": [
"bamboo_list_metadata": [
{
"fieldId": 4,
"manageable": "yes",
@ -373,7 +373,7 @@
<bpmn:outgoing>Flow_110nxt9</bpmn:outgoing>
<bpmn:script>departments_and_divisions = {
field["name"]: field["options"]
for field in list_metadata
for field in bamboo_list_metadata
if field["name"] in ["Department", "Division"]
}
@ -381,7 +381,7 @@ departments = departments_and_divisions.get("Department", [])
divisions = departments_and_divisions.get("Division", [])
del(departments_and_divisions)
del(list_metadata)</bpmn:script>
del(bamboo_list_metadata)</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1960par" sourceRef="Activity_1dcxzhp" targetRef="Activity_0ygriuv" />
<bpmn:callActivity id="Activity_1dcxzhp" name="Call Get List Metadata" calledElement="bamboo-list_metadata">