Converter (Quser to ID, Name, Email)

Stores the UID, Name, and Email of a User type data item A in a String type data item selected at B, C, D respectively.

    A. Select USER DATAData selectUserRequired
    B. Select STRING DATA for UID (update)Data selectString
    C. Select STRING DATA for User Name (update)Data selectString
    D. Select STRING DATA for Email Address (update)Data selectString
    -variable namevariable label
    Aconf_DataIdASelect USER DATA
    Bconf_DataIdBSelect STRING DATA for UID (update)
    Cconf_DataIdCSelect STRING DATA for User Name (update)
    Dconf_DataIdDSelect STRING DATA for Email Address (update)
    //// == 工程コンフィグの参照 / Config Retrieving ==
    var dataIdA = configs.get( "conf_DataIdA" );
    var dataIdB = configs.get( "conf_DataIdB" ) + "";
    var dataIdC = configs.get( "conf_DataIdC" ) + "";
    var dataIdD = configs.get( "conf_DataIdD" ) + "";
    // java.lang.String -> JavaScript String
    
    //// == ワークフローデータの参照 / Data Retrieving ==
    var quser = data.get( dataIdA );
    
    //// == 演算 / Calculating ==
    var qid = quser.getId() + ""; // Java Long -> JavaScript String
    
    //// == ワークフローデータへの代入 / Data Updating ==
    if( dataIdB !== "" ){
      retVal.put( dataIdB, qid );
    }
    if( dataIdC !== "" ){
      retVal.put( dataIdC, quser.getName() );
    }
    if( dataIdD !== "" ){
      retVal.put( dataIdD, quser.getEmail() );
    }
    

    • A’: Questetra User stored in the Data Item that is selected at config A
    • UID, Name, and Email of User A’ is stored in String type data items selected at config B, C, D respectively