Creating a Radio Button in IBM BPM 8.5:
Create Coach View,Give it a name.Open the Coach View.

Drop Radio button from right side of the palette.

In the variables section of the Coach View, under the configuration options, add a "NameValuePair" List object. Give it a name.
Create another variable go to Variables Tab--> Under its "Business Data", add a simple "NameValuePair" object.Give it a name.

Now, come to the Layout Tab --> In its properties, in the Configuration section, bind the "Selection List" (some variable)using this List variable.

Now, again come back to the Layout Tab --> Under its Properties, in the "General" section, bind this particular variable to the "Binding" property.

Now, create a service and drag a Coach on to it and connect its ends.


Add two private variables to this service, which are "NameValuePair" List object and a simple "NameValuePair" object.

Now, drag your just created Coach View onto your Coach.

select the Coach View, and then bind the simple variable to its "Binding" property.

Select the Coach View, and then bind the simple variable to its "Binding" property, and then go to its "Configuration" section and bind the List object over there.
Give name value pairs here.

Run the human service.

We can also write server script to display Radio Buttons without giving name value pairs.
tw.local.some=new tw.object.listOf.NameValuePair();
tw.local.some[0]=new tw.object.NameValuePair();
tw.local.some[0].name="India";
tw.local.some[0].value="India";
tw.local.some[1]=new tw.object.NameValuePair();
tw.local.some[1].name="America";
tw.local.some[1].value="America";

Create Coach View,Give it a name.Open the Coach View.
Drop Radio button from right side of the palette.
In the variables section of the Coach View, under the configuration options, add a "NameValuePair" List object. Give it a name.
Create another variable go to Variables Tab--> Under its "Business Data", add a simple "NameValuePair" object.Give it a name.
Now, come to the Layout Tab --> In its properties, in the Configuration section, bind the "Selection List" (some variable)using this List variable.
Now, again come back to the Layout Tab --> Under its Properties, in the "General" section, bind this particular variable to the "Binding" property.
Now, create a service and drag a Coach on to it and connect its ends.
Add two private variables to this service, which are "NameValuePair" List object and a simple "NameValuePair" object.
Now, drag your just created Coach View onto your Coach.
select the Coach View, and then bind the simple variable to its "Binding" property.
Select the Coach View, and then bind the simple variable to its "Binding" property, and then go to its "Configuration" section and bind the List object over there.
Give name value pairs here.
Run the human service.
We can also write server script to display Radio Buttons without giving name value pairs.
tw.local.some=new tw.object.listOf.NameValuePair();
tw.local.some[0]=new tw.object.NameValuePair();
tw.local.some[0].name="India";
tw.local.some[0].value="India";
tw.local.some[1]=new tw.object.NameValuePair();
tw.local.some[1].name="America";
tw.local.some[1].value="America";
Hi Murali,
ReplyDeleteYou Blog helped me alot for solving raised issues regarding IBPM v8.5.6.
Thank you paru..
DeleteHi Murali,
ReplyDeleteI successfully executed, Radio Button with Coach View and also without Coach View(Using Server Script) both in Human Service...Thanks a lot for your valuable guidance
This comment has been removed by the author.
ReplyDeleteYes, I am entirely agreed with this article, and I just want say that this article is very helpful and enlightening. I also have some precious piece of concerned info !!!!!!Thanks. radio luxembourg
ReplyDeleteYour work is truly appreciated round the clock and the globe. It is incredibly a comprehensive and helpful blog. ALL LIVE RADIO
ReplyDeleteThanks a lot for sharing a valuable blog on IBM BPM. I was browsing through the internet looking for IBM BPM training and IBM BPM Interview Questions and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information here about IBM BPM training and IBM BPM Interview Questions
ReplyDelete