Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

OVSD 4.5 sp13: selecting forms based on category

Highlighted
Akies
Occasional Visitor

OVSD 4.5 sp13: selecting forms based on category

Hi,

I have created 2 different forms based on 2 different categories.When I save a call with category A then I want while opening that call, a UI rule should get triggered which executes a smart action which checks the category of that call and based on that category, open the call in the corresponding form.

But I am unable to use the sd_dataforms.bat coz I am new to usage of this and do'nt the the parameters to pass.

Kindly Help!!

Regards,
Akhil
9 REPLIES
Mark O'Loughlin
Honored Contributor

Re: OVSD 4.5 sp13: selecting forms based on category

Hi Akhil,

have a look at this (if you haven't already). In passing the parameters keep it simple to start with to get things going - then you can add in what you like to copy over the values

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=967529

Basic Paramter:

sd_dataform "formname" -listalways +"ID=[ID]"
Akies
Occasional Visitor

Re: OVSD 4.5 sp13: selecting forms based on category

Hi Mark,

Thanks for reply!!

I tried to use smart action with following query through UI rule:

sd_dataform "formname" "ID=[ID]"

The solution worked fine but now I got one MAJOR problem..I have created UI rule when "an item is opened". Now whenever I open an existing ticket, the rule gets generated and the corresponding for gets opened but the process continues endlessly i.e it opens one form then another then so on...

How can I stop this? I tried to use some pre-condition like setting a flag etc but no result..pls help in this..

Regards,
Akhil
Mark O'Loughlin
Honored Contributor

Re: OVSD 4.5 sp13: selecting forms based on category

Can you post the rule. I want to see why the loop is created.
Akies
Occasional Visitor

Re: OVSD 4.5 sp13: selecting forms based on category

Hi Mark,

The rule is :

When an item is opened,

NO CONDITION

smart action "test to open form"

Hope you get some error in this.

Regards,
Akhil
Mark O'Loughlin
Honored Contributor

Re: OVSD 4.5 sp13: selecting forms based on category

Hi Akhil,

sam eproblem in this recent thread but no answer yet.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1036420
Mark O'Loughlin
Honored Contributor

Re: OVSD 4.5 sp13: selecting forms based on category

Hi Akhil,

there are updates in the other thread.

As Peter has pointed out when you double click a call the default form will open trigger the UI rule and force the required form to open (default form remaining on screen which is not required behaviour). No matter what critera is used the default form will still open when the call is double clicked
Akies
Occasional Visitor

Re: OVSD 4.5 sp13: selecting forms based on category

yes mark..

let's see if I get some solution from that thread..

Regards,
Akhil
Pinion
HPE Expert

Re: OVSD 4.5 sp13: selecting forms based on category

Akhil,

your rule, is being to run loop. I use this one but only for the smart action.

br,
Krieng
-/\-
Akies
Occasional Visitor

Re: OVSD 4.5 sp13: selecting forms based on category

Hi,

I was using the below thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=878714

and found that the script works fine but want to change the script with additional infor of changing the value of one boolean variable..


Can you suggest me?

Regards,
Akhil
//Add this to "OnDomLoad" event