Changes between Version 1 and Version 2 of Ticket #14243


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14243 – Description

    v1 v2  
    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 {{{
    3 cfc = select
     2
     3cfc = select
     4
    45cfc.label = Critical Facility Capability
    5 cfc.options = |Electrical|Hydraulic|Inspection|Machining|Plumbing|Product|Security|Transportation|Office
     6
     7cfc.options = |Electrical|Hydraulic
     8
    69cfc.order = 2
    7 cfc.value =
     10
     11cfc.value =
     12
    813itemcode = select
    9 itemcode.value =
     14
     15itemcode.value =
     16
    1017itemcode.label = Item Code
     18
    1119itemcode.order = 6
     20
    1221itemcode.options = |BCA|BAC|BNE|P400|HPU|NPW
    13 }}}
    14 I then have these two rules setup: 
    15 {{{
     22
     23I then have these two rules setup:
     24
    1625cfc.set_to_Electrical_when_itemcode = BCA|BAC|BNE|P400  (overwrite)
     26
    1727cfc.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
     29Written 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. 
    2030
    2131Unsure where to go from there.