Get user information in the shared queue

Hi all

The case is:

-My queue shared by some users (say a, B C abd)

-After a task assigned to me, I want to send email to all the user shared my queue (i.e. A, B and C)

Would like to know if there is a way to find the user information (login id, UID, etc...), so I can find it address e-mail?

Thanks in advance.

Concerning

Bill

What about using the ( getUsersWithAccessToTask) API of the Task Manager? See http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/javadoc/com/adobe/idp/taskman ager/dsc/client/task/TaskManager.html.

As for you question event, you could take advantage of the TaskComplete event to receive a notification when the task is completed. This way you will get the email only when the task is completed.

Jasmine

Tags: Adobe LiveCycle

Similar Questions

  • How to get more information about the user using SecurityContext ADF?

    Hello.

    In my application I have a table use:

    CREATE TABLE ("ADM_USERS"

    ACTIVATE THE 'ID' NUMBER(*,0) NOT NULL,

    ACTIVATE THE 'U_NAME' VARCHAR2 (30 BYTE) NOT NULL,

    ACTIVATE THE "U_PASS" VARCHAR2 (255 BYTE) NOT NULL,

    VARCHAR2 (30 BYTE) "NAME."

    VARCHAR2 (30 BYTE) 'NAME')

    I configured the WebLogic environment using the the "reading- SQL only the authentication provider ' and then I configured ADF Security as ADF authentication -> Forms -authentication.

    I connect the user using the method of ""doLogin " and all that working properly. "


    public String doLogin() {}

    String _username =;

    Byte [] pw = _password.getBytes ();

    FacesContext fctx = FacesContext.getCurrentInstance ();

    HttpServletRequest request = (HttpServletRequest) () .getRequest () fctx.getExternalContext;

    try {}

    Topic topic = Authentication.login (new URLCallbackHandler (UN, pw));

    ServletAuthentication.runAs (object, request);

    String loginUrl = "/ adfAuthentication?success_url=/faces/Registry.jsf";

    HttpServletResponse response = (HttpServletResponse) fctx.getExternalContext (m:System.NET.FtpWebRequest.GetResponse ());

    sendForward (request, response, loginUrl);

    } catch (FailedLoginException fle) {}

    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, "Incorrect name or password","Incorrect name or password" "");

    fctx.addMessage (null, msg);

    } catch {} (the LoginException)

    reportUnexpectedLoginError ("LoginException", the);

    }

    Returns a null value.

    }

    securityContext.userName returns the value of the 'U_NAME '.

    How to make more information on the user connected such as NAME, ID, first NAME?


    And the second question:

    How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?


    Concerning

    Darek


    securityContext.userName returns the value of the 'U_NAME '.
    How can I get more information about the user logged as NAME, first NAME, ID?

    You can not.

    You need to query DB.

    How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?

    Record this value in UserData structure so it will be available in the model. http://andrejusb.blogspot.com/2012/05/solution-for-sharing-global-user-data.html

    Then use as default expression for your objects of entity attributes (something like: adf.userSession.userData.yourUserDataVar).

    Dario

  • Error "Unable to get user information" when you try to open a session

    Ahoy hoy,

    When you try to connect to the workspace, everyone's is "unable to get user information".

    I think the problem might come as our domain controllers have changed IP address. If it's still weird that I entered the domain name, not a specific domain controller. It could be a coincidence, I guess so.

    When I log in https:// HorizonWorkspaceFQDN 0/SAAS/login/0 to use a domain account and check, it connects fine, but there is nothing outside of "details of the error: Null".

    Any help would be greatly appreciated.

    See you soon,.

    Craig

    All fixed now. Found that this /etc/resolv.conf pointed to a DNS server that had his IP has changed. It was put in the Pool of IP on initial Setup. I updated /etc/resolv.conf on workspace all virtual machines and also updated the Pools of IP.

    Rebooted and everything got back online. Happy days.

  • How to pre-fill the user information during the operation to assign tasks

    Hello

    I have a requrirement to pre-fill fields of the form (name, Email, phone etc) when a task is assigned to a user. Users are dynamically specified, so I use the user to find and services to assign tasks to locate and assign them to the user. Since I was a user variable that is the result of the operation of the user to find, I was hoping to get the user information with the attributes of the type of user.

    I tried to use the service to set the value to set the form field (Email) with the email of the user that is object type attribute

    / process_data/MyForm/Object/Data/XDP/datasets/Data/Form/User/email-> /process_data/facilityAuthority/object/@email

    However I get the following error when I try to do - com.adobe.idp.dsc.util.InvalidCoercionException: can not compel object: [B@335d of the type: [B type: interface org.w3c.dom.Document.]]

    Is it possible to retrieve information from the user to the user object? If yes how values for the attributes of the user (name, Email and phone etc...) so that I can fill in the form?

    Thank you
    Nicolas

    Hello

    Please cast chain e-mail before you assign it.

    Example of

    / process_data/MyForm/Object/Data/XDP/datasets/Data/Form/User / email-> string (process_data/facilityAuthority/object/@email)

    For more details, please refer to the forum http://forums.adobe.com/thread/492826

    Thank you

  • How can I use the REST API to get general information of the user (Signature fields)?

    I'm trying to use the API to get the signature of all the users of the system fields. I can see this information in the web browser if I go to settings-> user management-> and selecting the user.

    I would like to know if there is a way to get the information General information (Signature fields) using the API.

    Thank you!

    Hi Sai,

    The REST API exposes the user records (see the following document); However, signature fields are not included. We need to work on this addition to the API (in a later version), but the option is currently not available.

    Please let me know if you have any questions or would like more information.

    Thank you

    Fred

  • Show only user information after the connection

    Hello world

    I hope someone can help me please, I'm new to databases and programming.

    OK, I just created my first page of the login of the user (using the dreamweaver builtin functions).  Nowi have successfully built a MySQL database, insert a table with username, userPass and e-mail.  The login page works correctly and redirects to the authorized page

    Now, this is where I get lost.  On the authorized page, I want that it lists the information related to that user only, IE display their username and your email address.  What I can't work.  I'm sure you must filter to show only the logged-in user, but I can't see anything at all.

    Help, please

    My login page

    <?php require_once('Connections/connection.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    mysql_select_db($database_connection, $connection);
    $query_users = "SELECT * FROM tbl_users";
    $users = mysql_query($query_users, $connection) or die(mysql_error());
    $row_users = mysql_fetch_assoc($users);
    $totalRows_users = mysql_num_rows($users);
    ?><?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
      if (isset($_POST['userName'])) {$_SESSION['userName'] = $_POST['userName'];}
    }
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    }
    if (isset($_POST['username'])) {
      $loginUsername=$_POST['username'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "";
      $MM_redirectLoginSuccess = "index.php";
      $MM_redirectLoginFailed = "login.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_connection, $connection);
      
      $LoginRS__query=sprintf("SELECT userName, userPass FROM tbl_users WHERE userName=%s AND userPass=%s",
        GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text")); 
       
      $LoginRS = mysql_query($LoginRS__query, $connection) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
         $loginStrGroup = "";
        
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;       
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl']; 
        }
        header("Location: " . $MM_redirectLoginSuccess );
      }
      else {
        header("Location: ". $MM_redirectLoginFailed );
      }
    }
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <form id="form1" name="form1" method="POST" action="<?php echo $loginFormAction; ?>">
      <label>User Name:
      <input type="text" name="username" id="username" />
      </label>
      <p>
        <label>Password:
        <input type="password" name="password" id="password" />
        </label>
      </p>
      <p>
        <label>
        <input type="submit" name="submit" id="submit" value="Submit" />
        </label>
      </p>
    </form>
    </body>
    </html>
    <?php
    mysql_free_result($users);
    ?>
    
    

    My page authorized

    <?php require_once('Connections/connection.php'); ?>
    <?php
    //initialize the session
    if (!isset($_SESSION)) {
      session_start();
    }
    // ** Logout the current user. **
    $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
    if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
      $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
    }
    if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
      //to fully log out a visitor we need to clear the session varialbles
      $_SESSION['MM_Username'] = NULL;
      $_SESSION['MM_UserGroup'] = NULL;
      $_SESSION['PrevUrl'] = NULL;
      unset($_SESSION['MM_Username']);
      unset($_SESSION['MM_UserGroup']);
      unset($_SESSION['PrevUrl']);
     
      $logoutGoTo = "login.php";
      if ($logoutGoTo) {
        header("Location: $logoutGoTo");
        exit;
      }
    }
    ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    }
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { 
      // For security, start by assuming the visitor is NOT authorized. 
      $isValid = False; 
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. 
      // Therefore, we know that a user is NOT logged in if that Session variable is blank. 
      if (!empty($UserName)) { 
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. 
        // Parse the strings into arrays. 
        $arrUsers = Explode(",", $strUsers); 
        $arrGroups = Explode(",", $strGroups); 
        if (in_array($UserName, $arrUsers)) { 
          $isValid = true; 
        } 
        // Or, you may restrict access to only certain users based on their username. 
        if (in_array($UserGroup, $arrGroups)) { 
          $isValid = true; 
        } 
        if (($strUsers == "") && true) { 
          $isValid = true; 
        } 
      } 
      return $isValid; 
    }
    $MM_restrictGoTo = "login.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {   
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) 
      $MM_referrer .= "?" . $QUERY_STRING;
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo); 
      exit;
    }
    ?><?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    $colname_Recordset1 = "-1";
    if (isset($_SERVER['MM_Username'])) {
      $colname_Recordset1 = $_SERVER['MM_Username'];
    }
    mysql_select_db($database_connection, $connection);
    $query_Recordset1 = sprintf("SELECT * FROM tbl_users WHERE userName = %s", GetSQLValueString($colname_Recordset1, "text"));
    $Recordset1 = mysql_query($query_Recordset1, $connection) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <p align="center">WELCOME <strong><?php echo $row_Recordset1['userName']; ?></strong>,</p>
    <p align="center">IF YOU ARE VIEWING THIS PAGE THEN YOU HAVE SUCCESSFULLY LOGGED IN</p>
    <p align="left"> <a href="<?php echo $logoutAction ?>">Log out</a></p>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    

    You have selected the wrong option in the fields of the Recordset dialog box filter. You have chosen Server Variable. It is expected the Session Variable.

  • Impossible to get hardware information for the selected computer - Standalone Converter 5.5.3

    Hello everyone!

    I wanted to reduce my DC scores (of 2 used only TB ~ 150 GB) with the help of the stand-alone converter, but when I select 'source machine' (my off DC), then click on next, I get the error "Unable to get material information for selected machine" (which runs the converter as admin doesn't help). Also i ' v tried to convert other machines on this host and succeed.

    Cannot understand what is wrong with my DC.

    ESXi 5.1.0

    Converter 5.5.3

    Newspapers of my 3 attempts as an attachment.

    Seems that the problem is the size of the disk, possibly existing snapshots. Try to convert the virtual machine as a machine (on) physical.

    HTH

  • Convert VM residing on host to another host ESXi ESXi - impossible to get hardware information for the selected VM

    Hey guys,.

    I was wondering if someone came across this yet, but I amtrying to move a virtual machine to one ESXi server to another with converter. The virtual machine is powered OFF and when I select the virtual machine, and then click Next, I get this error "Unable to obtain information on material selected VM." I could always use FastScp but I want to resize the partition of hard drive on the virtual machine before I move it.

    Thank you!

    Hi Jonathan,.

    Can you send me the list of contents in "%ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Converter Standalone\logs"?  As you have noted that these services are running that they are very likely to produce newspapers in this directory.  Also can you send me the following files as it is possible that logging can be disabled in them:

    "%ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Converter Standalone\converter - server.xml" and "%ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Converter Standalone\converter - agent.xml.

    You can make sure that you connect to the server local converter by going in "Administration > to connect to another server...". "in the main window of the converter.  This is different to connect to the ESX Server.  Just to make sure that the flow is clear, when you go through the wizard, it communicates with the converter server to which you are connected.  The converter server will contact the appropriate converter officer who is responsible for the collection of information from the source and run the conversion.  In this case, the appropriate converter agent is one running on the local computer. This converter agent then connects to the esx server you specified in the wizard to get the necessary information machine.

    -Ryan

  • Unable to get user access in the planning

    Hello
    I created a new user in shared services and gave him access to the planning of an application, but still when I am trying to log in with this user in the application of planning its gives me an error "unable to synchronize with the provisioning of users. Check the journal of planning for details «,»
    now I use hyperion 9.3.1 and edited records in order to create a log file of planning, but despite this there is no entry on this error in the log file of planning?

    Take a look on:-http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_cas_help/apfs03s03.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • get users connected to the DB

    Hello

    How to get the users currently connected to the DB.
    (get the username and loggin times)

    and

    How to monitor users connected to the database in the past.
    (for example users connected before 3 days back)

    or to be more precise

    SQL>select sid,username,machine,to_char(logon_time,'dd-mon-yy hh24:mi:ss') from v$session;
    
  • How to get more information about the users in oracle 11g

    Hi all

    I need to know more information on users in oracle 11g.

    1. how to check when user times last connection to the database.
    2. If the user account is blocking why it is blocked? If it is locked trying Loing with wrong password how to check how many times he tried with wrong password... and other reasons also
    3 reaction strives to select user expire date is to show the value empty... we can check expire date by querys or we need to check the profile?
    4. how to check while he was reset his password, the last time.

    Please correct me if am wrong. Thank you

    Concerning

    1. how to check when user times last connection to the database.

    AUDIT

    2. If the user account is blocking why it is blocked? If it is locked trying Loing with wrong password how to check how many times he tried with wrong password... and other reasons also

    Check the profile of this user and attr.

    3 reaction strives to select user expire date is to show the value empty... we can check expire date by querys or we need to check the profile?

    SQL> select EXPIRY_DATE from dba_users ;
    
    EXPIRY_DA
    ---------
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    23-MAY-13
    24-SEP-11
    24-SEP-11
    24-SEP-11
    

    check
    EXPIRY_DATE in dba_users is null

    4. how to check while he was reset his password, the last time.

    SELECT SYS PTIME. THE USER$;

  • Impossible to get hardware information for the selected computer

    Hello world

    I need to convert a .vmx ESXi 5.5 machine. I use VMware vCenter Converter Standalone 5.1.1.

    I have this error: failed to get the hardware to the computer information selected

    printscreen.jpg

    Before copying the files (VMs), I stopped the VM and I did not include snapshots.

    Thanks for your help!

    Specific error should be found in the converter-worker newspaper, could you upload log-bundle?

    Also, you should make sure that the user running the user interface that has sufficient rights on your VM.

    HTH

  • ISE - unable to get SNMP information with the community

    This is the output of the switch when clicking on a switch in authentications followed in ise interface

    test2#sh snmp

    Chassis: FOC1330W1K0

    112 SNMP packets input

    0 Bad SNMP version errors

    4 Unknown community name

    0 Illegal operation for community name supplied

    0 Encoding errors

    44 Number of requested variables

    0 Number of altered variables

    44 Get-request PDUs

    0 Get-next PDUs

    0 Set-request PDUs

    0 Input queue packet drops (Maximum queue size 1000)

    143 SNMP packets output

    0 Too big errors (Maximum packet size 1500)

    0 No such name errors

    0 Bad values errors

    0 General errors

    108 Response PDUs

    35 Trap PDUs

    SNMP global trap: enabled

    SNMP logging: enabled

    Logging to xxx.xxx.yyy.5.162, 0/10, 7 sent, 0 dropped.   (admin/monitoring)

    SNMP agent enabled

    configuration of snmp:

    snmp-server community snmp-com.public RO 33

    access-list 3 permit xxx.xxx.kk.0 0.0.0.255

    access-list 3 permit xxx.xxx.zz.0 0.0.0.255

    access-list 3 permit xxx.xxx.yyy.0 0.0.0.255 (admin/monitoring)

    The unknown community name keeps growing when I click on the name of interface switch in ise... any suggestions?

    SNMP is configured for the switch added to ise with the name of Community law (v2c - snmp - com.public)

    ISE ver 1.1.2.145

    Thank you for your help

    Currently, Yes, this is a limitation

    'public' solves it.  So my advice: 'public' set with an ACL restricting EHT nodes only.

  • How to get more information in the response from the server "250 OK &lt; additional info here &gt;.

    Hi all

    I use javamail to send e-mail messages through an SMTP server that responds as follows when I finished sending my DATA:

    250 OK < additional information here >

    How can I get the text < additional information here > use javamail?

    I use the javamail 1.4.3 release. Messages are sent using Transport.send (message mime, containers []).

    Thank you very much for your help.

    Best regards
    Antonio

    You will need to manage the object yourself (see the FAQ for examples,
    (or the smtpsend.java demo program), and then use the SMTPTransport.getLastServerResponse)
    method (see the javadocs and the demo program).

  • Store user information in the specific table

    I created the new table where I want to store the application user data,
    ex: if I connect in the apex with user 'john' and make changes in the specific application report, I want to insert into the created table information, user who are chaneges in the folder - directed by: john for example...

    Sorry for my English, I hope understand you what I want to do...

    any ideas?

    Published by: Regent1904 on November 3, 2009 02:52
    CREATE or REPLACE TRIGGER dave
    
    BEFORE UPDATE
    ON VIZIT_FULL
    FOR EACH ROW
    BEGIN
      :NEW.users := V('APP_USER');
    END; 
    

    Try it like this.

    : NEW.users specifies the new value of the users who is updated column.

    Van
    Trent

    Published by: tr3nton on November 3, 2009 21:06

Maybe you are looking for

  • How to preserve custom tools and features when finished

    Whenever I have gone through the process and added tools and features in the window, customize the toolbar.Whenever I got it opened Firefox, tools and functions disappear until that only "fill it form" next to the remains of menu.I tried all the comb

  • IPA symbols not rendered

    Upgrade to Firefox 27.0. IPA symbols are rendered is no longer.for example, to https://en.wikipedia.org/wiki/Gaelic_type#Gaelic_script_in_Unicode all the symbols by default the error symbol. They reappear if I start Firefox in safe mode. I did a clea

  • Windows 7 X 64 and now firefox update only works in SafeMode (all off also addons)

    I just updated Firefox with Windows 7 X 64 update kb2670838 number and now I just make me sent to Mozilla error report screen if I'm not in safe mode. I've disabled all my addons and themes. The only way it works (and I might post it) was to use safe

  • I have lost my cdrom tools and utilities! How can I get another?

    I have lost my cdrom tools and utilities!How can I get another?

  • route resin animado

    Hola Amigos: Estoy doing UN programa utilizando LAB VIEW 2009 para dibujar the este punto, mientras UN work to mueve in el plano (graph XY), el punto is mueve pero no dibuja el route. may fits as debo hace para activar esa funcion o me el VI corregid