I am trying to pass the document from interface to process model but in process model I am getting blank value in PV.
Steps:
1. uploading document from file upload.
2. On click of submit button try to send the selected doc to process model
3. Process variable is blank even after sending the doc from interface.
Discussion posts and replies are publicly visible
Hi palasha1583
are you using local variable to send to process model? Create rule input in the interface save the document in the rule input. In process model use an iuser input task map the interface in user input task, & In input tab( user input task) map the input value to process variable ( both variables i.e rule input and process variable should be of same type ) then try uploading
Yes, I am using local variable to send the doc to process model. This interface is one section of the page, so if I am going to call the interface from process model then I wouldn't be able to call the process model on page load to render this section. Do we have any other workaround? or can we able to call process model on page load?
Hi palasha1583 ,
Try saving the document to rule input as mentioned by Abhishek. Then create a process variable in process model matching with your rule input name and type. Also make sure you enable the checkbox "Allow the value for the variable to be provided when starting a process" for process variable.