IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

ISVG - Store a value in USER_ERC Table through Live Event Target rule

  • 1.  ISVG - Store a value in USER_ERC Table through Live Event Target rule

    Posted Thu October 10, 2024 01:00 PM

    I have a custom connector that picks up a certain value from a TARGET application (not HR source). I wanted to store this value into a field I created in ISVG. After checking documentations regarding Target Events and Rules, it seems the ExternalInfoBean is not available in Target Events. Has anyone tried to assign/store a value into a custom field in ISVG without using ExternalInfoBean?



    ------------------------------
    Derrick Nidar
    ------------------------------


  • 2.  RE: ISVG - Store a value in USER_ERC Table through Live Event Target rule

    Posted Fri October 11, 2024 02:31 PM

    Hi Derrick 

    You can instantiate an ExternalInfoBean

    example

    String login = event.getCode();
    UserBean userFilter = new UserBean();
    userFilter.setCode(login);
    BeanList beanList = UserAction.find(sql, userFilter);    
    userFilter = (UserBean) beanList.get(0);
    	  
    ExternalInfo externalInfo = UserAction.findExternalInfo(sql, userFilter);  
    externalInfo.setAttribute("attribute", "value");

     



    ------------------------------
    Daniel Dias Marques
    ------------------------------