Changes between Version 2 and Version 3 of Ticket #14243


Ignore:
Timestamp:
Aug 30, 2023, 3:24:00 AM (9 months ago)
Author:
Alfred
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14243 – Description

    v2 v3  
    11I'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{{{
    33cfc = select
    4 
    54cfc.label = Critical Facility Capability
    6 
    75cfc.options = |Electrical|Hydraulic
    8 
    96cfc.order = 2
    10 
    117cfc.value =
    12 
    138itemcode = select
    14 
    159itemcode.value =
    16 
    1710itemcode.label = Item Code
    18 
    1911itemcode.order = 6
    20 
    2112itemcode.options = |BCA|BAC|BNE|P400|HPU|NPW
    22 
     13}}}
    2314I then have these two rules setup:
    24 
     15{{{
    2516cfc.set_to_Electrical_when_itemcode = BCA|BAC|BNE|P400  (overwrite)
    26 
    2717cfc.set_to_Hydraulic_when_itemcode = HPU|NPW (overwrite)
    28 
     18}}}
    2919Written 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. 
    3020