OpenChat Post (Questetra’s Enterprise Social Networking)

Posts the contents of a String type data item to the Open Chat, targeting a designated organization.

    A. Set Group ID for messaging scope (e.g. g99->"99")Single-line inputRequired
    B. Set Message for postMulti-line inputInserting EL expressions is also possibleRequired
    -variable namevariable label
    Aconf_ScopeGroupSet Group ID for messaging scope (e.g. g99->"99")
    Bconf_MessageSet Message for post
    //// == 自動工程コンフィグの参照 / Config Retrieving ==
    var scopeGroupId = parseInt( configs.get("conf_ScopeGroup") );
    var postMessage = configs.get("conf_Message");
    
    //// == ワークフローデータの参照 / Data Retrieving ==
    // no need
    
    //// == 演算 / Calculating ==
    var openChat = feedService.begin();
    var qgroup = qgroupDao.findById( scopeGroupId );
    openChat.setShareQgroup( qgroup );
    openChat.setMessage( postMessage );
    openChat.post();
    

    • none
    • With the Organization specified at config A as the scope, config B will be automatically posted
    • The file supporting version (20161130) is capable of adding a File type Data Item as an Input element