Maximo Open Forum

 View Only
  • 1.  Work Flow Manual Input node Mandatory Memo



  • 2.  RE: Work Flow Manual Input node Mandatory Memo

    Posted 10-17-2023 10:16

    Hi Fathi,

    When you get a chance, would you mind sharing how the data restriction you're trying is configured? Depending on when the memo field should be mandatory, it's possible to configure it to be required in other ways:

    • If the memo is meant to be mandatory for a subset of security groups and/or a subset of applications, you could try copying the dialog with id="inputwf" from the library XML into the specific app XML (keeping the id the same), then either:
      • Make the memo field required
      • Add a sigoption to the memo field, then add custom condition properties to make it conditionally required
    • If the memo is meant to be mandatory for all applications but only a subset of security groups, you could try adding an automation script which runs on the initialize step of the INPUTWF object which marks the MEMO field as required if the current user is in the of the designated security groups
    • If the memo is meant to be mandatory for Maximo as a whole (including all sites, orgs, security groups, applications, etc.), you could try marking the memo field as required on the INPUTWF object in the Database Configuration application

    Hope this helps!

    Regards,

         Derek



    ------------------------------
    Derek Steele
    Sharptree
    ------------------------------



  • 3.  RE: Work Flow Manual Input node Mandatory Memo

    Posted 10-30-2023 08:51
    Edited by Pankaj Dubey 10-31-2023 08:43

    Hi Fathi Deghadi,

    Please share the details of global data restriction for input node.

    1) Which object you selected during set up of data restriction?

    2) Did you selected any application during setup of  data restriction?

    3) Did you selected any security group during set up of  data restriction ?

    Applying global data restriction for making memo required should work fine. 



    ------------------------------
    Pankaj Dubey
    Self Employed
    ------------------------------



  • 4.  RE: Work Flow Manual Input node Mandatory Memo

    Posted 11-09-2023 18:01

    1. Copy the INPUTWF dialogue from the LIBRARY.xml to your app XML.

    2. Create a Condition with:

    ( :ACTIONID in (select distinct ACTIONID from WFACTION where PROCESSNAME = [YOUR PROCESS] and PROCESSREV= (select processrev from wfprocess where active = 1 and processname = [YOUR PROCESS]) ))

    * You may need to change the query if your INPUT is in a Sub-process.

    3. Create Global Data Restriction - Attribute Restriction

    Object: WFINPUT

    Attribute: MEMO

    Application: YOUR APPLICATION

    Type: REQUIRED

    Reevaluate: Y

    Condition: YOUR CONDITION



    ------------------------------
    Maycon Belfort
    BPD Zenith
    ------------------------------