BMC Communities Banner

This Question is Answered

2 "helpful" answers available (5 pts)
17 Replies Last post: Nov 9, 2009 10:27 AM by abdulrahman hejazi   1 2 Previous Next
abdulrahman hejazi Participant 30 posts since
Nov 2, 2009
Currently Being Moderated

Nov 2, 2009 11:49 AM

Roslution Time

Dears,

 

i am trying to calculate Roslution Time (the time  between  open a tiket and solve it).

 

i  used this process (Application-Bus-Time2-Diff ) but  i get error message ( the startdate and end date is in wrong format)

 

is there ant way to do this  calculation.

 

thanks

Sonal Expert 348 posts since
Dec 2, 2008
Currently Being Moderated
2. Nov 3, 2009 12:32 AM in response to: abdulrahman hejazi
Re: Roslution Time

Abdul,

 

Are you using the following syntax:

 

Application-Bus-Time-Diff  "<StartTime>" "<EndTime>"  "<HolidayScheduleName>" "<WorkdayScheduleName>"

 

The Start Time and EndT ime parameters are required in this command. Other fields are optional and will default if not provided.

 

I think you're just missing some double quotes in the command.

 

Hope that Helps!!

Sonal

Sonal Expert 348 posts since
Dec 2, 2008
Currently Being Moderated
4. Nov 3, 2009 1:25 AM in response to: abdulrahman hejazi
Re: Roslution Time

If you want to take Business Time into account, then Application-Bus-Time-Diff is the only option,I know.

 

Otherwise you could use Resolution Date - Reported Date.

 

Can you post the exact run process here so that we can help.Are you using a Filter or an Active Link?

Sonal Expert 348 posts since
Dec 2, 2008
Currently Being Moderated
6. Nov 3, 2009 1:58 AM in response to: abdulrahman hejazi
Re: Roslution Time

Abdul,

 

Don't you think the run process should be something like:   $PROCESS$ @@:Application-Bus-Time-Diff "Create Date" "Modified Date"

 

As the syntax is: Application-Bus-Time-Diff  "<StartTime>" "<EndTime>"  and you are specifying create date as end time and modified date as start time. Also, don't forget to give the space as it is missing in your reply.

 

Set Fields in an Active Link will give you the desired results.

 

HTH,

Sonal

Sonal Expert 348 posts since
Dec 2, 2008
Currently Being Moderated
8. Nov 3, 2009 2:18 AM in response to: abdulrahman hejazi
Re: Roslution Time

$PROCESS$ @@:Application-Bus-Time2-Diff "Create Date" "Modified Date"

Sonal Expert 348 posts since
Dec 2, 2008
Currently Being Moderated
10. Nov 3, 2009 2:23 AM in response to: abdulrahman hejazi
Re: Roslution Time

Take a Time Field, use a set field action and set the calculated result in the time field.

Sonal Expert 348 posts since
Dec 2, 2008
Currently Being Moderated
13. Nov 3, 2009 3:39 AM in response to: abdulrahman hejazi
Re: Roslution Time

Abdul,

 

Using a Run Process action will not help in seeing the result in the field. You will have to create a Set Field Action for this.

 

Try This: Create an Integer Field ( as the difference will be in seconds).

 

Use Set Field as : $PROCESS$ @@: Application-Bus-Time2-Diff "$Create Date$" "$Modified Date$" and set it to that Integer Field.

 

NOTE: We forgot the $ sign in the syntax before.

 

HTH,

Sonal

1 2 Previous Next

Advertisement

More Like This

  • Retrieving data ...