how to pass the collections data from process studio to object studio using input and output paramters in blue prism - blueprism

Creating a demo process for calling BP travels VBO in Blue Prism. Want to capture the data in the create quote tab using capture collection in Process Studio and pass the data to a collection inside an object in Object Studio.

First capture the data in the "create quote" tab into a collection item in your process. Then go to the object in Object Studio and inside the Start stage, Add a new input:
In the object, create a collection item and call it the same as the collection item in the process; then use it to populate the "Store In" field in the Start new input as shown in the picture above - OK. Then add any other stages you need in your object and remember to publish your object and save. This is to make the object available to your process in Process Studio.
Then back in your process, use an Action stage to use your object and the page inside the object where you created the (duplicate)collection item. When you run this stage from your process what will happen is that the data from "quote tab" that you captured inside the collection item in your process, will be passed to the (duplicate) collection item inside your object (as long as they both have the exact same name).
To do the reverse, you will be adding an output to the End stage in your object, and adding an input to the Start stage of your process.

First Open VBO- BP travels and open the respective action page
Now drag and drop a collection data item and name it as "Input collection" and click on Ok
Then open start stage and click on Add and enter the following
Name as Input collection
Description as Collection that is passed from process studio to object studio
Type as collection
Store In as Input collection i.e., the collection data item name which you created in step 2
After adding the details, click on ok and then save and publish the object.
Now open the process and open the respective Action stage i.e., where you are calling the object and have a glance in Inputs tab
Now the name added in step 3 i.e., Input Collection will be reflected here.
Now drag and drop the collection i.e., Capture Collection which you wished to pass to object studio.
When you run this stage the a copy of capture collection will be passed from process studio to object studio.
Note:
If you want to pass the collection data from object studio to process studio
follow the same process but in object studio you should create in End stage
which will be reflecting in Process Studio -> Action stage -> Outputs tab

Related

Test Complete : How to get the object property value of the menu bar and their children properties on Microsoft Word Document

If I want to automate the object property value of the menu bar and their children properties from Microsoft Word Document. How do I do this using python? I tried the Test Complete inspect tool and I was not successful. This is a project for my job. I am trying to automate a script that also has Microsoft Word Document in it.

How to pass data item defined at process to object in BluePrism?

I have defined few data items at process level and would like to access those data items in my object. However, i'm able to get data item from object to Process using input/output parameters. But it doesn't work in reverse.
I got solution for this:
Go to object studio and add input parameter at start stage of an object.
Go to process studio - Add action stage and select the object from the dropdown (where you defined input parameter in step 1) and you will see the parameter under Input tab
Now pass on the value or data item you want to call in object studio.
Thanks

RPA Blueprism input collection in process studio action stage

Trying to parameterize a hotel booking page where we need to enter check in, check out details etc. I created a page in object studio with various action/navigation stages for that web page. Now I need to call that object in process and loop it with input collection. When I am calling that object studio page in process studio action stage, I can select my object and action from dropdown, but under inputs tab not getting any row to drag and drop the input collection that I have created, how to do this ?
Seems you should go take Blue Prism tutorial on their homepage, as this very basic, it's how to call another process/Business object.
Short description:
Create a process which is your main.
Create your functionality in a Business object.
From your process you will pull in an 'Action' block and find your
business object in the drop down.
When it comes to input/output. Click on Start/End
to create the Input/Output you need.
Hope this was helpful.
I'm not sure if I understand your problem correctly, but shouldn't you input your data in START step in proces studio?
So, in START step in proces studio you input data and then(whit that input) you go into actions from your object.
Hope it helps.
make sure you place your data items/collections which ever is output in run time object in END stage, and make sure you uncheck hide from process box.
In process you will be able to find necessary output from object and will involve in your rest action
hope this helps :)
You need to provide input parameters in the Start properties of your Object. Inputs to a page in Object Studio provide the means for a Process to supply data to the Business Object.
Essentially, the Business Object is saying to the Process, “What check in, check out details etc do you want me to work with?”.
Hope this helps.
I had the same issue, it is resolved!
When you create an Object and go to Application Modeller, make sure you choose "Browser Based Application" instead of Windows Based Application. I had selected Windows based applocation and it was not showing up in the Process Studio. I hope this

Create Task Items With Custom List Dataview in Sharepoint 2010

I created 2 custom lists in Sharepoint 2010:
List #1: INTERNAL PROCESSES (fields: Process Title, Reference)
List #2: PROCESS STEPS (fields: Step Title, Step Description, Process Title[lookup of 1 item in previous list], Department Assigned)
I created an action in the display form for list INTERNAL PROCESSES called "Create Instance"...when user clicks on it, redirects user to
mypage.aspx?processID={itemID}
(I couldn't find a way to pass the title instead of the ID in the querystring...)
Up to here is what I have done so far.
Now, I need to accomplish the following in mypage.aspx
1) lookup in INTERNAL PROCESSES using processID received in queryString, if field Reference is not NULL, ask user to enter a value for Reference
(eg. if Reference contains the word "Member", ask user to enter the Member Name)
2) get Process Title from list INTERNAL PROCESSES for processID received in querystring
3) For each list item in PROCESS STEPS where field Process Title matches Process Title looked up in step#2 , create a new TASK list item with the
following values:
a) TASK Title = Step Title + Value entered in step#1 (if any)
b) TASK Description = Step Description
c) TASK Assigned to = Department Assigned
I'd like to avoid using code, if at all possible because I've never done it, if code is required please point me in the right direction...thanks!
hey you would not required to use code if you are good at designing SharePoint designer workflows what you would have to do is create custom action using desginer and you can invoke a wrkflow using custom action, which would create a task for you in task list for more details have a look at following article
http://manish-sharepoint.blogspot.com/2010/01/creating-custom-actions-using.html

SPWorkflowTaskProperties.ExtendedProperties aren’t populating the fields in my task

I am attempting to pass information from a task created within a workflow to its corresponding task form. Prior to the CreateTask activity, I create an SPWorkflowTaskProperties and fill it with the usual info (title, assigned-to, etc). I also add some elements to the ExtendedProperties property. However, those custom properties never make it into the Task.
I've tried setting the property key to:
the Guid of one of my task' content
type's fields;
the internal name of
one of my task' content type's
fields;
an unrelated name (in the
hopes of getting the info into the
task's properties instead of its
fields).
Nothing works. The task, once created, contains only the built-in field values I have set. None of values I explicitly added to the extended properties show up.
The (simplified) sequence of my activities is as follows:
PrepareTask. This is a custom
activity that contains the
SPWorkflowTaskProperties
CreateTask. The task properties are bound to the one in the PrepareTask activity.
OnTaskCreated. The task properties are bound to the one in the PrepareTask activity.
While (task not complete)
OnTaskChanged
I am using WSS 3.0 SP1 and an ASPX (NOT InfoPath) task form.
I still don't know why my original solution didn't work. But I have found a workaround. My sequence of activities is now:
CreateTask
OnTaskCreated
CopyTaskItems. This is a custom
activity that puts values into my
custom task's fields, then updates
the task.
While (task not complete)
OnTaskChanged
So I have to create the task, then immediately poke values into it and update.
I hope this will help some future reader of this question.
You should be using a ItemMetadata.xml document as a secondary datasource that contains the definition of the fields that you want to pass to your task form. Something like:
<z:row xmlns:z="#RowsetSchema"
ows_Instructions=""
ows_Body=""
ows_Comments=""
ows_ApprovalStatus=""
/>
The File name is important btw.
Notice the ows_ (as it used the webservices all fields in the list will be prefixed with ows.)
Then in you infopath form, set the default value of each control you want to display this information in. Hit the fx button and insert a field or group from the secondary datasource.
A good resource: http://weblog.vb-tech.com/nick/archive/2007/02/25/2207.aspx

Resources