Changes between Version 1 and Version 2 of Ticket #14243
- Timestamp:
- Aug 30, 2023, 3:18:36 AM (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14243 – Description
v1 v2 1 1 I'm trying to set one value in response to another and it is only working if I use a single value. Trying to have multiple listed does not respond. I have the following setup under the tickets-custom: 2 {{{ 3 cfc = select 2 3 cfc = select 4 4 5 cfc.label = Critical Facility Capability 5 cfc.options = |Electrical|Hydraulic|Inspection|Machining|Plumbing|Product|Security|Transportation|Office 6 7 cfc.options = |Electrical|Hydraulic 8 6 9 cfc.order = 2 7 cfc.value = 10 11 cfc.value = 12 8 13 itemcode = select 9 itemcode.value = 14 15 itemcode.value = 16 10 17 itemcode.label = Item Code 18 11 19 itemcode.order = 6 20 12 21 itemcode.options = |BCA|BAC|BNE|P400|HPU|NPW 13 }}} 14 I then have these two rules setup: 15 {{{ 22 23 I then have these two rules setup: 24 16 25 cfc.set_to_Electrical_when_itemcode = BCA|BAC|BNE|P400 (overwrite) 26 17 27 cfc.set_to_Hydraulic_when_itemcode = HPU|NPW (overwrite) 18 }}} 19 Written as above, they do nothing, but if I remove all but the first option then setting my itemcode field to BCA will set cfc to Electrical, and setting it to HPU will set it to Hydraulic.28 29 Written as above, they do nothing, but if I remove all but the first option for each rule then setting my itemcode field to BCA will set cfc to Electrical, and setting it to HPU will set it to Hydraulic. 20 30 21 31 Unsure where to go from there.