Any insight on the below issue which we have facing on our project will be helpf

Any insight on the below issue which we have facing on our project will be helpful. I am working on a bug and during project creation if the user selects a Large Store, Convenience Retail or Drug Value originating channel the selection of project subtype should be an optional (not required) selection. The dropdown selection should not be removed.

Could anyone let me know what could be the logic which I should use so that" Project Subtype"should be optional for Large Store, Convenience Retail or Drug Value originating channel .
We are using an expression rule "prmOrigChanHasProjectSubType" to pick the originating channel from the constant used out in this expression that is PRM_ORIG_CHAN_STORE_LG = Large Store

=if(contains({cons!PRM_ORIG_CHAN_REGION, cons!PRM_ORIG_CHAN_STORE_LG, cons!PRM_ORIG_CHAN_CONV_RETAIL, cons!PRM_ORIG_CHAN_DRUG_VALUE, cons!PRM_ORIG_CHAN_CANADA, cons!PRM_ORIG_CHAN_OTHER}, ri!origChannel), true(), false()).

Then we have used ...

OriginalPostID-119955

OriginalPostID-119955

  Discussion posts and replies are publicly visible

Parents
  • We are using Appain 7.6 version. I have tried the suggestion provided by Evan in my previous post on this issue.

    forum.appian.com/.../e-119955

    I have tried as per suggested by you and updated this rule. It did not work for me Project Subtype value still showing required instead of optional when we select a Large Store, Convenience Retail or Drug Value from originating channel list.
    Expression rule "prmOrigChanHasProjectSubType"
    =(contains({cons!PRM_ORIG_CHAN_REGION,cons!PRM_ORIG_CHAN_STORE_LG, cons!PRM_ORIG_CHAN_CONV_RETAIL, cons!PRM_ORIG_CHAN_DRUG_VALUE, cons!PRM_ORIG_CHAN_CANADA, cons!PRM_ORIG_CHAN_OTHER}, ri!origChannel))
Reply
  • We are using Appain 7.6 version. I have tried the suggestion provided by Evan in my previous post on this issue.

    forum.appian.com/.../e-119955

    I have tried as per suggested by you and updated this rule. It did not work for me Project Subtype value still showing required instead of optional when we select a Large Store, Convenience Retail or Drug Value from originating channel list.
    Expression rule "prmOrigChanHasProjectSubType"
    =(contains({cons!PRM_ORIG_CHAN_REGION,cons!PRM_ORIG_CHAN_STORE_LG, cons!PRM_ORIG_CHAN_CONV_RETAIL, cons!PRM_ORIG_CHAN_DRUG_VALUE, cons!PRM_ORIG_CHAN_CANADA, cons!PRM_ORIG_CHAN_OTHER}, ri!origChannel))
Children
No Data