User: jon@sartography.com clicked save for misc/service-tests/bamboo/bamboo_all_depts_divs.bpmn
This commit is contained in:
parent
abba1fcc3b
commit
c1f843bdb1
|
@ -14,7 +14,7 @@
|
||||||
<spiffworkflow:unitTests>
|
<spiffworkflow:unitTests>
|
||||||
<spiffworkflow:unitTest id="Multiple Departments and Divisions">
|
<spiffworkflow:unitTest id="Multiple Departments and Divisions">
|
||||||
<spiffworkflow:inputJson>{
|
<spiffworkflow:inputJson>{
|
||||||
"list_metadata": [
|
"bamboo_list_metadata": [
|
||||||
{
|
{
|
||||||
"fieldId": 4,
|
"fieldId": 4,
|
||||||
"manageable": "yes",
|
"manageable": "yes",
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
</spiffworkflow:unitTest>
|
</spiffworkflow:unitTest>
|
||||||
<spiffworkflow:unitTest id="No Departments">
|
<spiffworkflow:unitTest id="No Departments">
|
||||||
<spiffworkflow:inputJson>{
|
<spiffworkflow:inputJson>{
|
||||||
"list_metadata": [
|
"bamboo_list_metadata": [
|
||||||
{
|
{
|
||||||
"fieldId": 1355,
|
"fieldId": 1355,
|
||||||
"manageable": "yes",
|
"manageable": "yes",
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
</spiffworkflow:unitTest>
|
</spiffworkflow:unitTest>
|
||||||
<spiffworkflow:unitTest id="No Divisions">
|
<spiffworkflow:unitTest id="No Divisions">
|
||||||
<spiffworkflow:inputJson>{
|
<spiffworkflow:inputJson>{
|
||||||
"list_metadata": [
|
"bamboo_list_metadata": [
|
||||||
{
|
{
|
||||||
"fieldId": 4,
|
"fieldId": 4,
|
||||||
"manageable": "yes",
|
"manageable": "yes",
|
||||||
|
@ -250,7 +250,7 @@
|
||||||
</spiffworkflow:unitTest>
|
</spiffworkflow:unitTest>
|
||||||
<spiffworkflow:unitTest id="Ignores Other Fields">
|
<spiffworkflow:unitTest id="Ignores Other Fields">
|
||||||
<spiffworkflow:inputJson>{
|
<spiffworkflow:inputJson>{
|
||||||
"list_metadata": [
|
"bamboo_list_metadata": [
|
||||||
{
|
{
|
||||||
"fieldId": 4,
|
"fieldId": 4,
|
||||||
"manageable": "yes",
|
"manageable": "yes",
|
||||||
|
@ -373,7 +373,7 @@
|
||||||
<bpmn:outgoing>Flow_110nxt9</bpmn:outgoing>
|
<bpmn:outgoing>Flow_110nxt9</bpmn:outgoing>
|
||||||
<bpmn:script>departments_and_divisions = {
|
<bpmn:script>departments_and_divisions = {
|
||||||
field["name"]: field["options"]
|
field["name"]: field["options"]
|
||||||
for field in list_metadata
|
for field in bamboo_list_metadata
|
||||||
if field["name"] in ["Department", "Division"]
|
if field["name"] in ["Department", "Division"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -381,7 +381,7 @@ departments = departments_and_divisions.get("Department", [])
|
||||||
divisions = departments_and_divisions.get("Division", [])
|
divisions = departments_and_divisions.get("Division", [])
|
||||||
|
|
||||||
del(departments_and_divisions)
|
del(departments_and_divisions)
|
||||||
del(list_metadata)</bpmn:script>
|
del(bamboo_list_metadata)</bpmn:script>
|
||||||
</bpmn:scriptTask>
|
</bpmn:scriptTask>
|
||||||
<bpmn:sequenceFlow id="Flow_1960par" sourceRef="Activity_1dcxzhp" targetRef="Activity_0ygriuv" />
|
<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">
|
<bpmn:callActivity id="Activity_1dcxzhp" name="Call Get List Metadata" calledElement="bamboo-list_metadata">
|
||||||
|
|
Loading…
Reference in New Issue