Skip navigation
Currently Being Moderated

pre-populate data and current date only when it routes to that person

Jul 14, 2011 7:02 AM

Hi,

 

Can  any one please advise how to pre-populate the manager's name when it routes to the manager but not when the user fills the form.

Example: user fills the form and submit it to the manager, the process has the query to look up for the manager to route it to him for approve/deny. How can I have the manager's name to pre-populate so he/she does not have to type their name and current date to approve/deny the form.

 

Thanks in advance,

Han Dao

 
Replies
  • Currently Being Moderated
    Jul 14, 2011 8:08 AM   in reply to Han Dao

    You would have to push the Manager values into the data file and merge that data file back onto the template.

     

    Paul

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 14, 2011 9:05 AM   in reply to Han Dao

    I assume that you are submitting XML data from the form and combining it with an XDP template using the defaut renderer with each user step. Th einbound data ends up in an XML variable that you have created. I assume that you are using another service (DB lookup or LDAP lookup) to retrieve the manager information. Then you woudl use a setValue operation to push the value of the manager name into the appropriate node in the XML. Now that the XML has been adjusted, when it is combined with the template the data fills out the appropriate Manager information that you passed along.

     

    Make sense?

     

    Paul

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 14, 2011 10:18 AM   in reply to Han Dao

    Are you getting the Manager values into the data stream correctly? If so then it has to be a binding issue.

     

    Another thing you can do ...save the data from the form after the Manager info has been inserted....is it in the data file?

     

    Paul

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points