Changes between Version 2 and Version 3 of Ticket #14243
- Timestamp:
- Aug 30, 2023, 3:24:00 AM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14243 – Description
v2 v3 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 2 {{{ 3 3 cfc = select 4 5 4 cfc.label = Critical Facility Capability 6 7 5 cfc.options = |Electrical|Hydraulic 8 9 6 cfc.order = 2 10 11 7 cfc.value = 12 13 8 itemcode = select 14 15 9 itemcode.value = 16 17 10 itemcode.label = Item Code 18 19 11 itemcode.order = 6 20 21 12 itemcode.options = |BCA|BAC|BNE|P400|HPU|NPW 22 13 }}} 23 14 I then have these two rules setup: 24 15 {{{ 25 16 cfc.set_to_Electrical_when_itemcode = BCA|BAC|BNE|P400 (overwrite) 26 27 17 cfc.set_to_Hydraulic_when_itemcode = HPU|NPW (overwrite) 28 18 }}} 29 19 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. 30 20