Re: set fields behavior if no requests match filter
Brien, Let me see if I can explain. When you are trying to set the field to a Static value, then the CONDITIONS that you're trying to use in the action are not really used because they're irrelavent to the value that you're setting; it's basically like using a SET FIELDS action on the CURRENT FORM. Your second scenario actually has a value that DEPENDS on the conditions, so it works as expected. Now that you have a value in that field (any value will do), then you know if that value in that field is !=$NULL$ then you have a unique record for your search. Good luck, Gp George Payne Corporate Applications Developer Electric Reliability Council of Texas (512) 248-3940 gpa...@ercot.com From: Action Request System discussion list(ARSList) [arsl...@arslist.org] On Behalf Of Brien Dieterle [brien.diete...@cgcmail.maricopa.edu] Sent: Thursday, October 28, 2010 7:58 PM To: arslist@ARSLIST.ORG Subject: set fields behavior if no requests match filter Is it normal for a set fields operation, which is set to Set Fields to $NULL$ if no records match, to actually set the fields anyway if no records match? I didn't think so. Here is the scenario: I have Form A with a 'Field 1' character field and a 'NotUnique' character field. I want a set fields operation to, on modify, check to see if there are any other records in Form A that have the same value as 'Field 1'. I know this is a great case for a unique index, but lets just assume that isn't an option. So my Filter executes on modify and has one action- set fields. It uses the Data Source of Server and Form A as the source. The qualification is something like this: 'requestid' != $requestid$ AND 'Field 1' = $Field 1$ AND 'Field 1' != $NULL$. In this way I don't care if there are Nulls that match, just actual values, and I prevent matching my own record. If no requests match: set fields to $Null$ if multiple requests match: use first matching request Set Field: NotUnique = True So what happens is NotUnique is set to True ALL the time, no matter what. Very, very strange. Here is the kicker: If I change the Set Field to: Set Field: NotUnique = $Request ID$ THEN, it works exactly as expected. For duplicate records NotUnique contains the Request ID of the offending record. If there is no duplicate, it is null. My guess is it is still broken and trying to set the field despite no matches, but since there really isn't any value to get, it sets it to null. Whereas, in the former case I am using a static string True instead of a field name. 7.5 patch 1 Brien ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
JOB - Washington DC - Remedy Developer
I have two Remedy positions posted on klslconsulting.com that will close on Monday and Wednesday. If you are actively looking in the Washington DC area send your resume and contact info to bob.l...@klslconsulting.com. The rates are low, but the contract has funding and would likely be renewed on 9/30/2011. -- Bob Lind IT Jobs posted daily on klslconsulting.com/jobs ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
ARServer to ARServer WebService
Hi, One of my customers gets the following error when calling a WebService from ARServer 7.0.1 patch patch005/patch011 to an 7.1.0 patch??? ARERR [9130] An exception occurred from the WebService class : ERROR (302): Entry does not exist in database; I recall to have seen something similar before, and that it had to do with version incompatibility in the ARSystem... Can anyone shed any light on this, or give suggestions? I have attached a small API/FLTR/ECSL-log as well as the Plugin-log. So which entry are we talking about here??? Best Regards - Misi, RRR AB, http://www.rrr.se Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers AreAPI ... /* to sep 30 2010 11:50:35.7406 */+SE ARSetEntry -- schema ITSM7:INVOICE:Main entryId 092 from Remedy User (protocol 12) at IP address 151.156.16.143 FLTR ... /* to sep 30 2010 11:50:35.7409 */Start filter processing -- Operation - SET FLTR ... ITSM7:INVOICE:Main - 092 FLTR ... Checking ITSM7:INVOICE:MAIN:500:Get Data (500) SQL ... /* to sep 30 2010 11:50:35.7410 */SELECT C1,C2,C3,C4,C5,C6,C7,C8,0 FROM T494 WHERE C1 = '092' SQL ... /* to sep 30 2010 11:50:35.7426 */OK SQL ... /* to sep 30 2010 11:50:35.7427 */SELECT entryId,T0,U0,T1,U1,T2,U2 FROM H494 WHERE entryId = '092' SQL ... /* to sep 30 2010 11:50:35.7436 */OK FLTR ...-- Passed -- perform actions FLTR ... 0: Set Fields FLTR ... Region (536871186) = Nordic FLTR ... WS Login (536871187) = WS_TABASCO FLTR ... WS Password (536871188) = WS_TABASCO FLTR ... 1: Set Fields SQL ... /* to sep 30 2010 11:50:35.7517 */SELECT C1,C2,C3,C4,C5,C6,C7,C8,0 FROM T494 WHERE C1 = '092' SQL ... /* to sep 30 2010 11:50:35.7527 */OK SQL ... /* to sep 30 2010 11:50:35.7528 */SELECT entryId,T0,U0,T1,U1,T2,U2 FROM H494 WHERE entryId = '092' SQL ... /* to sep 30 2010 11:50:35.7536 */OK FLTR ... An exception occurred from the WebService class FLTR ... ERROR (302): Entry does not exist in database; FLTR ... Error while performing filter action FLTR ... /* to sep 30 2010 11:50:36.1201 */ End of filter processing (phase 1) SQL ... /* to sep 30 2010 11:50:36.1201 */COMMIT WORK API ... /* to sep 30 2010 11:50:36.1207 */-SE FAILAPI ... /* to sep 30 2010 11:50:35.7406 */+SE ARSetEntry -- schema ITSM7:INVOICE:Main entryId 092 from Remedy User (protocol 12) at IP address 151.156.16.143 FLTR ... /* to sep 30 2010 11:50:35.7409 */Start filter processing -- Operation - SET FLTR ... ITSM7:INVOICE:Main - 092 FLTR ... Checking ITSM7:INVOICE:MAIN:500:Get Data (500) SQL ... /* to sep 30 2010 11:50:35.7410 */SELECT C1,C2,C3,C4,C5,C6,C7,C8,0 FROM T494 WHERE C1 = '092' SQL ... /* to sep 30 2010 11:50:35.7426 */OK SQL ... /* to sep 30 2010 11:50:35.7427 */SELECT entryId,T0,U0,T1,U1,T2,U2 FROM H494 WHERE entryId = '092' SQL ... /* to sep 30 2010 11:50:35.7436 */OK FLTR ...-- Passed -- perform actions FLTR ... 0: Set Fields FLTR ... Region (536871186) = Nordic FLTR ... WS Login (536871187) = WS_TABASCO FLTR ... WS Password (536871188) = WS_TABASCO FLTR ... 1: Set Fields SQL ... /* to sep 30 2010 11:50:35.7517 */SELECT C1,C2,C3,C4,C5,C6,C7,C8,0 FROM T494 WHERE C1 = '092' SQL ... /* to sep 30 2010 11:50:35.7527 */OK SQL ... /* to sep 30 2010 11:50:35.7528 */SELECT entryId,T0,U0,T1,U1,T2,U2 FROM H494 WHERE entryId = '092' SQL ... /* to sep 30 2010 11:50:35.7536 */OK FLTR ... An exception occurred from the WebService class FLTR ... ERROR (302): Entry does not exist in database; FLTR ... Error while performing filter action FLTR ... /* to sep 30 2010 11:50:36.1201 */ End of filter processing (phase 1) SQL ... /* to sep 30 2010 11:50:36.1201 */COMMIT WORK API ... /* to sep 30 2010 11:50:36.1207 */-SE FAIL
Service Target Behavior SLM 7.1 vs. 7.6
I have essentially the same Service Target built on 7.1 and 7.6. It's attached to a particular Support Group (Group A). For Measurement, Reset Goal for Same Request = No and Allow Service Target to Re-Open = Yes. The setting to 'Use Start Time as defined on the Application Form' is NOT checked. In 7.1 when the ticket is assigned to another group then back to Group A the original goal time remains the same. In 7.6 the goal is adjusted to account for the time the ticket was assigned to a different group (and thus Detached). Does anyone know if the behavior for measuring changed in 7.6 to account for these differences in behavior? My requirement is to pause the measurement when the Incident is not assigned to Group A. Thanks, -- Chris Danaceau AttivaSoft Solutions Architect ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Jobs - greater Toronto area - Remedy AR Developers - BMC Software
We are looking to fill two Remedy Developer roles in BMC Software's Remedy RD group in our Markham Ontario facility (in the greater Toronto area) and welcome your application. One is for a Senior level developer and the other a Junior level developer. If interested, please forward resumes (ideally in PDF or Word format) to jeff...@bmc.commailto:jeff...@bmc.com . Position Description Primary responsibilities include designing, implementing, and maintaining enterprise business software. - Work as part of a large, distributed development team to do requirements analysis, write design documents, design, develop and test for software development projects. Leads the development of complex modules. - Mentors junior developers on the team - Develop business applications deployed in large enterprises. - Excellent opportunity for career growth in a technical role. - Good knowledge of software design principles is a must. - Good knowledge of data management techniques and principles Position Requirements Strong software design skills required - Knowledge of IT Service Management domain, ITIL processes - Knowledge of Remedy ITSM/ AR System is highly desirable. - Experience developing enterprise business software using Visual Basic, Oracle forms, Remedy AR System or similar development tools - Strong UI skills and experience required - Development experience in web and XML-based technologies including HTML, XHTML, AJAX, CSS, Java servlets, libraries like jQuery, Dojo toolkit is a plus. - Experience with Windows and Unix platforms - Ability to work with little supervision as well as being a team player - Excellent verbal, written, and interpersonal communication skills - Software development experience with a proven track record and practical experience with a full lifecycle software methodology - Experience with agile and iterative methodologies, such as XP, Scrum or RUP - Experience with UML and object-oriented architectures. - BMC Software is an Equal Opportunity Affirmative Action Employer. Thank You, Jeff Sa Global Staffing BMC Software phone: 781-257-3661 mobile: 339-223-7979 10 Maguire Rd. Lexington, MA 02421 [cid:image001.jpg@01CB7755.7AB66390]http://www.bmc.com/bsm [cid:image002.gif@01CB7755.7AB66390]http://www.bmc.com/ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are inline: image001.jpginline: image002.gif
Re: set fields behavior if no requests match filter
Thanks George-- and I should have read the manual: Set Fields to $NULL$—Assigns a NULL value to all of the fields that you are setting (except for fields with static values and keywords). I just don't understand why one would want it to behave that way-- what if you had a mix of static and retrieved values? You'd have a mishmash. Ah well, I'm sure there is a good reason. :-) Brien On 10/29/2010 2:58 AM, Payne, George wrote: Brien, Let me see if I can explain. When you are trying to set the field to a Static value, then the CONDITIONS that you're trying to use in the action are not really used because they're irrelavent to the value that you're setting; it's basically like using a SET FIELDS action on the CURRENT FORM. Your second scenario actually has a value that DEPENDS on the conditions, so it works as expected. Now that you have a value in that field (any value will do), then you know if that value in that field is !=$NULL$ then you have a unique record for your search. Good luck, Gp George Payne Corporate Applications Developer Electric Reliability Council of Texas (512) 248-3940 gpa...@ercot.com From: Action Request System discussion list(ARSList) [arsl...@arslist.org] On Behalf Of Brien Dieterle [brien.diete...@cgcmail.maricopa.edu] Sent: Thursday, October 28, 2010 7:58 PM To: arslist@ARSLIST.ORG Subject: set fields behavior if no requests match filter Is it normal for a set fields operation, which is set to Set Fields to $NULL$ if no records match, to actually set the fields anyway if no records match? I didn't think so. Here is the scenario: I have Form A with a 'Field 1' character field and a 'NotUnique' character field. I want a set fields operation to, on modify, check to see if there are any other records in Form A that have the same value as 'Field 1'. I know this is a great case for a unique index, but lets just assume that isn't an option. So my Filter executes on modify and has one action- set fields. It uses the Data Source of Server and Form A as the source. The qualification is something like this: 'requestid' != $requestid$ AND 'Field 1' = $Field 1$ AND 'Field 1' != $NULL$. In this way I don't care if there are Nulls that match, just actual values, and I prevent matching my own record. If no requests match: set fields to $Null$ if multiple requests match: use first matching request Set Field: NotUnique = True So what happens is NotUnique is set to True ALL the time, no matter what. Very, very strange. Here is the kicker: If I change the Set Field to: Set Field: NotUnique = $Request ID$ THEN, it works exactly as expected. For duplicate records NotUnique contains the Request ID of the offending record. If there is no duplicate, it is null. My guess is it is still broken and trying to set the field despite no matches, but since there really isn't any value to get, it sets it to null. Whereas, in the former case I am using a static string True instead of a field name. 7.5 patch 1 Brien ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003
I experienced the same type of issue, it turned out that the patch needs to be run by whatever user owns the files. We run our system under a certain account and so the owner of all the Remedy files are owned by that owner. I was running the CMDB patch as root and it failed with a very similar error. BMC support told me to run it as the owner and then the patch applied correctly. Supposedly this is fixed in CMDB 7.6 Lane Harner Sr. Systems Engineer EES, LLC, Contractor to the United States Department of Energy 1000 Independence Avenue, SW Washington, DC 20585 From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of G. Lafontant Sent: Tuesday, October 26, 2010 7:55 PM To: arslist@ARSLIST.ORG Subject: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003 ** I received this error below while upgrading the CMDB 2.0.1 P009 to CMDB 2.1.0 P003. Anyone encounters this issue before to please share input on a fix. thanks all in advance. Platform: AIX 5.3 ARS 7.1 Patch009 ITSM 7.0.03 Patch09 Error: Importing upgrade workflow. Performing upgrade for: BMC Atrium CMDB 2.1.00 patch 000 stage 3 Problem upgrading to 2.1.00 patch 000 stage 3 using metadata-upgr-import-OSD.txt Once the problem has been resolved, repeat the installation. _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: set fields behavior if no requests match filter
Brien, I look at it this way. If you were to describe a SetFields with psuedo-code it would look something like SET foo = value where foo is the field on the current form, and value is what comes from the other form that you are searching. For the options that Set fields to $NULL$, the word 'fields' refers to the value part not the foo part. So its the value part that is getting set to null, not foo. Hopefully that helps some, Thad Esser Remedy Developer - Long-winded use cases: When you have: SET foo = StaticText then foo gets set to StaticText. When you have: SET foo = value If you have match foo gets that value. If you don't have a match, value is null, which is what ends up in foo. When you have: SET foo = The value found is: + value If you have a match foo gets set to: The value found is: WhateverValueWasFound If you don't have a match, value is null, and foo becomes: The value found is: (note the null at the end). - On Fri, Oct 29, 2010 at 8:36 AM, Brien Dieterle brien.diete...@cgcmail.maricopa.edu wrote: Thanks George-- and I should have read the manual: Set Fields to $NULL$—Assigns a NULL value to all of the fields that you are setting (except for fields with static values and keywords). I just don't understand why one would want it to behave that way-- what if you had a mix of static and retrieved values? You'd have a mishmash. Ah well, I'm sure there is a good reason. :-) Brien On 10/29/2010 2:58 AM, Payne, George wrote: Brien, Let me see if I can explain. When you are trying to set the field to a Static value, then the CONDITIONS that you're trying to use in the action are not really used because they're irrelavent to the value that you're setting; it's basically like using a SET FIELDS action on the CURRENT FORM. Your second scenario actually has a value that DEPENDS on the conditions, so it works as expected. Now that you have a value in that field (any value will do), then you know if that value in that field is !=$NULL$ then you have a unique record for your search. Good luck, Gp George Payne Corporate Applications Developer Electric Reliability Council of Texas (512) 248-3940 gpa...@ercot.com From: Action Request System discussion list(ARSList) [arsl...@arslist.org] On Behalf Of Brien Dieterle [brien.diete...@cgcmail.maricopa.edu] Sent: Thursday, October 28, 2010 7:58 PM To: arslist@ARSLIST.ORG Subject: set fields behavior if no requests match filter Is it normal for a set fields operation, which is set to Set Fields to $NULL$ if no records match, to actually set the fields anyway if no records match? I didn't think so. Here is the scenario: I have Form A with a 'Field 1' character field and a 'NotUnique' character field. I want a set fields operation to, on modify, check to see if there are any other records in Form A that have the same value as 'Field 1'. I know this is a great case for a unique index, but lets just assume that isn't an option. So my Filter executes on modify and has one action- set fields. It uses the Data Source of Server and Form A as the source. The qualification is something like this: 'requestid' != $requestid$ AND 'Field 1' = $Field 1$ AND 'Field 1' != $NULL$. In this way I don't care if there are Nulls that match, just actual values, and I prevent matching my own record. If no requests match: set fields to $Null$ if multiple requests match: use first matching request Set Field: NotUnique = True So what happens is NotUnique is set to True ALL the time, no matter what. Very, very strange. Here is the kicker: If I change the Set Field to: Set Field: NotUnique = $Request ID$ THEN, it works exactly as expected. For duplicate records NotUnique contains the Request ID of the offending record. If there is no duplicate, it is null. My guess is it is still broken and trying to set the field despite no matches, but since there really isn't any value to get, it sets it to null. Whereas, in the former case I am using a static string True instead of a field name. 7.5 patch 1 Brien ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers
Re: Remedy pages on web
Hi Dave, I need to access the Remedy forms (web pages) directly from the server through an external application without using the URL. For ex; if the pages are stored as JSP, I want that JSP code to be used in the external application. Regards, SriSamSri Appecherla Mobile# +91 991 610 6008 On Fri, Oct 29, 2010 at 12:07 AM, Shellman, David dave.shell...@tycoelectronics.com wrote: ** MidTier is just another client. What exactly are you looking for? Dave -- *From:* Action Request System discussion list(ARSList) [mailto: arsl...@arslist.org] *On Behalf Of *SriSamSri Appecherla *Sent:* Thursday, October 28, 2010 1:18 PM *To:* arslist@ARSLIST.ORG *Subject:* Remedy pages on web ** Hi, Can anybody please help me understand how and where are the Remedy forms stored in the mid tier 7.5 ? Regards, SriSamSri Appecherla Mobile# +91 991 610 6008 _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Remedy pages on web
What you're looking for isn't possible with MidTier. Sounds like you need to be looking at connecting with either Web Services (which goes through the MidTier) or the API's. Dave From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of SriSamSri Appecherla Sent: Friday, October 29, 2010 1:53 PM To: arslist@ARSLIST.ORG Subject: Re: Remedy pages on web ** Hi Dave, I need to access the Remedy forms (web pages) directly from the server through an external application without using the URL. For ex; if the pages are stored as JSP, I want that JSP code to be used in the external application. Regards, SriSamSri Appecherla Mobile# +91 991 610 6008 On Fri, Oct 29, 2010 at 12:07 AM, Shellman, David dave.shell...@tycoelectronics.commailto:dave.shell...@tycoelectronics.com wrote: ** MidTier is just another client. What exactly are you looking for? Dave From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORGmailto:arslist@ARSLIST.ORG] On Behalf Of SriSamSri Appecherla Sent: Thursday, October 28, 2010 1:18 PM To: arslist@ARSLIST.ORGmailto:arslist@ARSLIST.ORG Subject: Remedy pages on web ** Hi, Can anybody please help me understand how and where are the Remedy forms stored in the mid tier 7.5 ? Regards, SriSamSri Appecherla Mobile# +91 991 610 6008 _attend WWRUG11 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Remedy pages on web
Perhaps you could better explain the larger business problem that you are trying to solve. It is possible that your needs could be met using the Mid-Tier as designed through a different method... For example, the Mid-Tier supports JSR-168 which would enable you to display forms as portlets within an external portal. Or you could utilize web services to access the data within the forms through a defined interface. My gut feeling is that even were you to be able to get the generated rendering information that is sent to the browser from the Mid-Tier (which may not actually be easily possible), you'll still not meet your needs. -David J. Easter Sr. Product Manager, Enterprise Service Management BMC Software, Inc. The opinions, statements, and/or suggested courses of action expressed in this E-mail do not necessarily reflect those of BMC Software, Inc. My voluntary participation in this forum is not intended to convey a role as a spokesperson, liaison or public relations representative for BMC Software, Inc. From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of SriSamSri Appecherla Sent: Friday, October 29, 2010 10:53 AM To: arslist@ARSLIST.ORG Subject: Re: Remedy pages on web ** Hi Dave, I need to access the Remedy forms (web pages) directly from the server through an external application without using the URL. For ex; if the pages are stored as JSP, I want that JSP code to be used in the external application. Regards, SriSamSri Appecherla Mobile# +91 991 610 6008 On Fri, Oct 29, 2010 at 12:07 AM, Shellman, David dave.shell...@tycoelectronics.commailto:dave.shell...@tycoelectronics.com wrote: ** MidTier is just another client. What exactly are you looking for? Dave From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORGmailto:arslist@ARSLIST.ORG] On Behalf Of SriSamSri Appecherla Sent: Thursday, October 28, 2010 1:18 PM To: arslist@ARSLIST.ORGmailto:arslist@ARSLIST.ORG Subject: Remedy pages on web ** Hi, Can anybody please help me understand how and where are the Remedy forms stored in the mid tier 7.5 ? Regards, SriSamSri Appecherla Mobile# +91 991 610 6008 _attend WWRUG11 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Service Target Behavior SLM 7.1 vs. 7.6
I have not played with 7.6 yet (so excuse my comment if it doesn't apply).. ..in ITSM 7.0.03 you had an Exclude statement in each service target.. is that not the case in 7.6? it was located under the measurement tab of the service target.. Can you define it as 'support group' != Group A OR 'Status' = Pending (assuming you also want to exclude Pending time).. Marcelo From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Chris Danaceau Sent: Friday, October 29, 2010 8:42 AM To: arslist@ARSLIST.ORG Subject: Service Target Behavior SLM 7.1 vs. 7.6 ** I have essentially the same Service Target built on 7.1 and 7.6. It's attached to a particular Support Group (Group A). For Measurement, Reset Goal for Same Request = No and Allow Service Target to Re-Open = Yes. The setting to 'Use Start Time as defined on the Application Form' is NOT checked. In 7.1 when the ticket is assigned to another group then back to Group A the original goal time remains the same. In 7.6 the goal is adjusted to account for the time the ticket was assigned to a different group (and thus Detached). Does anyone know if the behavior for measuring changed in 7.6 to account for these differences in behavior? My requirement is to pause the measurement when the Incident is not assigned to Group A. Thanks, -- Chris Danaceau AttivaSoft Solutions Architect _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Service Target Behavior SLM 7.1 vs. 7.6
Hi Chris, In SLM 7.1.00 this was a defect. In this scenario, the time that the service target (SVT) is not attached should be treated as Pending time unless the SVT is in a Service Target Group in which case it will inherit the appropriate measurement information from the previously attached SVT. This was fixed in 7.1 patch 002 and also moved into the newer code lines including 7.6.00. Thanks, John From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Chris Danaceau Sent: Friday, October 29, 2010 8:42 AM To: arslist@ARSLIST.ORG Subject: Service Target Behavior SLM 7.1 vs. 7.6 ** I have essentially the same Service Target built on 7.1 and 7.6. It's attached to a particular Support Group (Group A). For Measurement, Reset Goal for Same Request = No and Allow Service Target to Re-Open = Yes. The setting to 'Use Start Time as defined on the Application Form' is NOT checked. In 7.1 when the ticket is assigned to another group then back to Group A the original goal time remains the same. In 7.6 the goal is adjusted to account for the time the ticket was assigned to a different group (and thus Detached). Does anyone know if the behavior for measuring changed in 7.6 to account for these differences in behavior? My requirement is to pause the measurement when the Incident is not assigned to Group A. Thanks, -- Chris Danaceau AttivaSoft Solutions Architect _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Display as Text for Character Field
I originally set up a character field as Read Only, when a customer is modifying or adding a record, they cannot change this field. When they do a search on this form, a Change Action makes this field Read/Write. (I don't want anyone to change it, but I don't mind if they search on the field). Plus I don't want to make my users use the advanced search option, I want to make it easy. Well, I need some workflow to update this field from time to time, but it won't let me because the field is Read Only. No biggee, I'll just change this field to Display as Text. (even though I don't like Display as Text sometimes, I always end up having to draw a little box around the field). But there is no Change Action to turn off this Display as Text setting when the users are doing a search on the form. Am I missing anything? Is there an easy solution to this? I'm working on the WUT (ARS 7.5 p4) AR System Server 7.1 p7 Oracle 10g Lisa Kemes AR System Developer Tyco Electronics 717-810-2408 tel 717-602-9460 cell lisa.ke...@te.com ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003
thanks for the response Lane, the installation was performed as non root, we've used the same non root user on all previous installations, and it is the owner of all the files. For whatever reasons, the installation kept breaking every single times when reached CMDB 2.1.00 patch 000 stage 3 On 10/29/2010 1:25 PM, Harner, Lane wrote: ** I experienced the same type of issue, it turned out that the patch needs to be run by whatever user owns the files. We run our system under a certain account and so the owner of all the Remedy files are owned by that owner. I was running the CMDB patch as root and it failed with a very similar error. BMC support told me to run it as the owner and then the patch applied correctly. Supposedly this is fixed in CMDB 7.6 Lane Harner Sr. Systems Engineer EES, LLC, Contractor to the United States Department of Energy 1000 Independence Avenue, SW Washington, DC 20585 *From:*Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] *On Behalf Of *G. Lafontant *Sent:* Tuesday, October 26, 2010 7:55 PM *To:* arslist@ARSLIST.ORG *Subject:* Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003 ** I received this error below while upgrading the _CMDB 2.0.1 P009_ to _CMDB 2.1.0 P003_. Anyone encounters this issue before to please share input on a fix. thanks all in advance. Platform: AIX 5.3 ARS 7.1 Patch009 ITSM 7.0.03 Patch09 Error: Importing upgrade workflow. Performing upgrade for: BMC Atrium CMDB 2.1.00 patch 000 stage 3 Problem upgrading to 2.1.00 patch 000 stage 3 using metadata-upgr-import-OSD.txt Once the problem has been resolved, repeat the installation. _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Display as Text for Character Field
Create another character field with an active/filter that sets the value to equal your Display as text field. Then set it up to be hidden in new record mode and in view in search search mode and the Display field run the opposite. _ John Atherly | APC by Schneider Electric | Information, Process Organization (IPO) | Remedy Administrator / Developer Phone: +401-789-5735 ext. 2120 | Fax: +401-789-3710 | Email: john.athe...@apcc.com | Site: www.apc.com/ | Address: 132 Fairgrounds Road, West Kingston, RI 02892 USA *** Please consider the environment before printing this e-mail Kemes, Lisa lisa.ke...@tycoelectronics.com Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 10/29/2010 03:13 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Display as Text for Character Field ** I originally set up a character field as Read Only, when a customer is modifying or adding a record, they cannot change this field. When they do a search on this form, a Change Action makes this field Read/Write. (I don't want anyone to change it, but I don't mind if they search on the field). Plus I don't want to make my users use the advanced search option, I want to make it easy. Well, I need some workflow to update this field from time to time, but it won't let me because the field is Read Only. No biggee, I'll just change this field to Display as Text. (even though I don't like Display as Text sometimes, I always end up having to draw a little box around the field). But there is no Change Action to turn off this Display as Text setting when the users are doing a search on the form. Am I missing anything? Is there an easy solution to this? I'm working on the WUT (ARS 7.5 p4) AR System Server 7.1 p7 Oracle 10g Lisa Kemes AR System Developer Tyco Electronics 717-810-2408 tel 717-602-9460 cell lisa.ke...@te.com _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003
I had an issue at the same point and it turned out to be the IP related. The hosts file needed to be updated to point the hostname to the physical server IP (it was previously mapped to the public IP) I assume you haven't set admin mode only as this can also cause upgrades to fail. From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of G. Lafontant Sent: 29 October 2010 20:19 To: arslist@ARSLIST.ORG Subject: Re: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003 ** thanks for the response Lane, the installation was performed as non root, we've used the same non root user on all previous installations, and it is the owner of all the files. For whatever reasons, the installation kept breaking every single times when reached CMDB 2.1.00 patch 000 stage 3 On 10/29/2010 1:25 PM, Harner, Lane wrote: ** I experienced the same type of issue, it turned out that the patch needs to be run by whatever user owns the files. We run our system under a certain account and so the owner of all the Remedy files are owned by that owner. I was running the CMDB patch as root and it failed with a very similar error. BMC support told me to run it as the owner and then the patch applied correctly. Supposedly this is fixed in CMDB 7.6 Lane Harner Sr. Systems Engineer EES, LLC, Contractor to the United States Department of Energy 1000 Independence Avenue, SW Washington, DC 20585 From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of G. Lafontant Sent: Tuesday, October 26, 2010 7:55 PM To: arslist@ARSLIST.ORG Subject: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003 ** I received this error below while upgrading the CMDB 2.0.1 P009 to CMDB 2.1.0 P003. Anyone encounters this issue before to please share input on a fix. thanks all in advance. Platform: AIX 5.3 ARS 7.1 Patch009 ITSM 7.0.03 Patch09 Error: Importing upgrade workflow. Performing upgrade for: BMC Atrium CMDB 2.1.00 patch 000 stage 3 Problem upgrading to 2.1.00 patch 000 stage 3 using metadata-upgr-import-OSD.txt Once the problem has been resolved, repeat the installation. _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Display as Text for Character Field
Not a bad idea at all. I just didn't want to have to create another field, but it looks like I might have to if I want to keep the look that this field is locked down (so to speak) when the customer is in New or Modify mode and then open when they are in search mode. Lisa From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of John Atherly Sent: Friday, October 29, 2010 3:29 PM To: arslist@ARSLIST.ORG Subject: Re: Display as Text for Character Field ** Create another character field with an active/filter that sets the value to equal your Display as text field. Then set it up to be hidden in new record mode and in view in search search mode and the Display field run the opposite. _ John Atherly | APC by Schneider Electric | Information, Process Organization (IPO) | Remedy Administrator / Developer Phone: +401-789-5735 ext. 2120 | Fax: +401-789-3710 | Email: john.athe...@apcc.commailto:%20john.athe...@apcc.com | Site: www.apc.com/http://www.apc.com/ | Address: 132 Fairgrounds Road, West Kingston, RI 02892 USA *** Please consider the environment before printing this e-mail Kemes, Lisa lisa.ke...@tycoelectronics.com Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 10/29/2010 03:13 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Display as Text for Character Field ** I originally set up a character field as Read Only, when a customer is modifying or adding a record, they cannot change this field. When they do a search on this form, a Change Action makes this field Read/Write. (I don't want anyone to change it, but I don't mind if they search on the field). Plus I don't want to make my users use the advanced search option, I want to make it easy. Well, I need some workflow to update this field from time to time, but it won't let me because the field is Read Only. No biggee, I'll just change this field to Display as Text. (even though I don't like Display as Text sometimes, I always end up having to draw a little box around the field). But there is no Change Action to turn off this Display as Text setting when the users are doing a search on the form. Am I missing anything? Is there an easy solution to this? I'm working on the WUT (ARS 7.5 p4) AR System Server 7.1 p7 Oracle 10g Lisa Kemes AR System Developer Tyco Electronics 717-810-2408 tel 717-602-9460 cell lisa.ke...@te.com _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Display as Text for Character Field
Lisa, If there are times you need to update the field, you could add a button that only people who can modify the field can see. Clicking the button would run an active link to set the field Read/Write to enable you to change it. HTH, Dennis Ruble Kemes, Lisa lisa.ke...@tycoelectronics.com Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 10/29/2010 02:13 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Display as Text for Character Field ** I originally set up a character field as Read Only, when a customer is modifying or adding a record, they cannot change this field. When they do a search on this form, a Change Action makes this field Read/Write. (I don't want anyone to change it, but I don't mind if they search on the field). Plus I don't want to make my users use the advanced search option, I want to make it easy. Well, I need some workflow to update this field from time to time, but it won't let me because the field is Read Only. No biggee, I'll just change this field to Display as Text. (even though I don't like Display as Text sometimes, I always end up having to draw a little box around the field). But there is no Change Action to turn off this Display as Text setting when the users are doing a search on the form. Am I missing anything? Is there an easy solution to this? I'm working on the WUT (ARS 7.5 p4) AR System Server 7.1 p7 Oracle 10g Lisa Kemes AR System Developer Tyco Electronics 717-810-2408 tel 717-602-9460 cell lisa.ke...@te.com _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Display as Text for Character Field
Lisa, If you don't want to add a button or field, you can just create an Active Link that runs On Return on your field and Changes it to Read/Write. Limit permissions on the Active Link so that only authorized personnel can make the change. That way you can just click on the field, hit Return to make it Read/Write, and make your change. Customers will not have permission to make the change. HTH, Dennis Ruble Kemes, Lisa lisa.ke...@tycoelectronics.com Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 10/29/2010 02:48 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Re: Display as Text for Character Field ** Not a bad idea at all. I just didn't want to have to create another field, but it looks like I might have to if I want to keep the look that this field is locked down (so to speak) when the customer is in New or Modify mode and then open when they are in search mode. Lisa From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of John Atherly Sent: Friday, October 29, 2010 3:29 PM To: arslist@ARSLIST.ORG Subject: Re: Display as Text for Character Field ** Create another character field with an active/filter that sets the value to equal your Display as text field. Then set it up to be hidden in new record mode and in view in search search mode and the Display field run the opposite. _ John Atherly | APC by Schneider Electric | Information, Process Organization (IPO) | Remedy Administrator / Developer Phone: +401-789-5735 ext. 2120 | Fax: +401-789-3710 | Email: john.athe...@apcc.com | Site: www.apc.com/ | Address: 132 Fairgrounds Road, West Kingston, RI 02892 USA *** Please consider the environment before printing this e-mail Kemes, Lisa lisa.ke...@tycoelectronics.com Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 10/29/2010 03:13 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Display as Text for Character Field ** I originally set up a character field as Read Only, when a customer is modifying or adding a record, they cannot change this field. When they do a search on this form, a Change Action makes this field Read/Write. (I don't want anyone to change it, but I don't mind if they search on the field). Plus I don't want to make my users use the advanced search option, I want to make it easy. Well, I need some workflow to update this field from time to time, but it won't let me because the field is Read Only. No biggee, I'll just change this field to Display as Text. (even though I don't like Display as Text sometimes, I always end up having to draw a little box around the field). But there is no Change Action to turn off this Display as Text setting when the users are doing a search on the form. Am I missing anything? Is there an easy solution to this? I'm working on the WUT (ARS 7.5 p4) AR System Server 7.1 p7 Oracle 10g Lisa Kemes AR System Developer Tyco Electronics 717-810-2408 tel 717-602-9460 cell lisa.ke...@te.com _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Java plugin server thread configuration question
Many thanks to John Baker from Java Systems Solutions for a work-around to this via modification to the plugin code (see below and I hope I incorporated it correctly :-). I would still like to know if it is possible to configure per plugin threads via the pluginsvr.conf configuration or other mechanism. This is for an ARS 7.5 / 7.6 environment. Thanks, Eric Example singleton plugin: -- package com.company.samples; import java.util.List; import com.bmc.arsys.api.ARException; import com.bmc.arsys.api.Value; import com.bmc.arsys.pluginsvr.*; import com.bmc.arsys.pluginsvr.plugins.ARFilterAPIPluggable; import com.bmc.arsys.pluginsvr.plugins.ARPluggable; import com.bmc.arsys.pluginsvr.plugins.ARFilterAPIPlugin; import com.bmc.arsys.pluginsvr.plugins.ARPluginContext; import com.bmc.arsys.*; import org.apache.log4j.Logger; import com.company.someotherstuff*; /** * A class representing a singletone Plugin service. * This will run as a java plugin under the Remedy Java plugin framework * as a single instance instead of x instances as defined by arpluginsvr coreThreads * * Useful when the plugin calls it's own management mechanism for work distribution * or a poller mechanism that should only be initialized once. * */ public class MyPlugin extends ARFilterAPIPlugin { // initiate logger private static final Logger logger = Logger.getLogger(MyPlugin.class); // for our singleton private static MyPlugin myplug; public MyPlugin() {}; /* Initialize the Remedy plugin */ public void initialize(ARPluginContext context) throws ARException { logger.info(Started plugin init); super.initialize(context); /* check if it's already available, if not it's safe to init the code for other stuff to do */ if(myplug == null){ myplug = getInstance(); //initialize the stuff we want to run outside of current thread initializeApp(context); } } public void terminate(ARPluginContext context) throws ARException { logger.info(Terminating context); //cleanup routine here for graceful shutdown super.terminate(context); } /* start it (the plugin) */ public static void main(String[] args) { //'cause it's not ultimately useful at this juncture to accept params at startup... if(args!= null){ logger.warn(This plugin does not accept command line messaging...); } } /* initialize the meat of the plugin outside of the plugin initialization thread so the init process can complete and we aren't mucking things up (according to the docs) */ private void initializeApp(ARPluginContext context) throws ARException{ //class for storing config variables in memory instead of dealing with an overload of i/o ConfigParams cp = new ConfigParams(); try{ logger.info(calling init...); cp.initialize(); // load config file parameters into mem Thread t = new Thread(new Poller()); //thread our poller mechanism t.start(); //start the poller } catch (RuntimeException rte){ terminate(context); } } /* we aren't allowing filter api calls to this plugin because the plugin polls remedy asynchronously for all work to process */ public ListValue filterAPICall(ARPluginContext context, ListValue in) throws ARException { return null; } /* we aren't allowing event calls to this plugin */ public void onEvent(ARPluginContext context, int arg1) throws ARException { //do nothing } /* get an instance of this plugin */ private synchronized static MyPlugin getInstance() { if (myplug==null) myplug = new MyPlugin(); return plug; } } Previous message: Is it possible to configure individual plugins within a plugin server to use their own configuration for threads? I.E. if there are multiple plugins within pluginsvr_config.xml, can each have their own designated number of threads or is it only possible that each uses the numCoreThreads setting for the overall plugin server? If they need to be different from the numCoreThreads designated by the pluginserver, is there any way to handle outside of running under a different plugin server instance, and if not, can multiple plugin servers be run on the same server with a single instance of Remedy? (see below for example plugin server config) Thanks in advance for any thoughts on this... Kind Regards, Eric Roys GSSI Verizon Business Example plugin server config file... pluginsvr_config portmyPort/port regPortMapperfalse/regPortMapper encryptionPolicy2/encryptionPolicy publicKeyAlg4/publicKeyAlg publicKeyExpiry86400/publicKeyExpiry dataEncryptionAlg1/dataEncryptionAlg dataKeyExpiry2700/dataKeyExpiry numCoreThreads5/numCoreThreads
Re: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003
everything else was checked okay, except that i didn't have it set as admin mode only... i tried running the installation after, it was to no avail--still broke at stage 3 On 10/29/2010 3:35 PM, Peter Romain wrote: ** I had an issue at the same point and it turned out to be the IP related. The hosts file needed to be updated to point the hostname to the physical server IP (it was previously mapped to the public IP) I assume you haven't set admin mode only as this can also cause upgrades to fail. *From:*Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] *On Behalf Of *G. Lafontant *Sent:* 29 October 2010 20:19 *To:* arslist@ARSLIST.ORG *Subject:* Re: Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003 ** thanks for the response Lane, the installation was performed as non root, we've used the same non root user on all previous installations, and it is the owner of all the files. For whatever reasons, the installation kept breaking every single times when reached CMDB 2.1.00 patch 000 stage 3 On 10/29/2010 1:25 PM, Harner, Lane wrote: ** I experienced the same type of issue, it turned out that the patch needs to be run by whatever user owns the files. We run our system under a certain account and so the owner of all the Remedy files are owned by that owner. I was running the CMDB patch as root and it failed with a very similar error. BMC support told me to run it as the owner and then the patch applied correctly. Supposedly this is fixed in CMDB 7.6 Lane Harner Sr. Systems Engineer EES, LLC, Contractor to the United States Department of Energy 1000 Independence Avenue, SW Washington, DC 20585 *From:*Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] *On Behalf Of *G. Lafontant *Sent:* Tuesday, October 26, 2010 7:55 PM *To:* arslist@ARSLIST.ORG mailto:arslist@ARSLIST.ORG *Subject:* Error upgrading CMDB 2.0.1 Patch 9 to CMDB 2.1.0 Patch003 ** I received this error below while upgrading the _CMDB 2.0.1 P009_ to _CMDB 2.1.0 P003_. Anyone encounters this issue before to please share input on a fix. thanks all in advance. Platform: AIX 5.3 ARS 7.1 Patch009 ITSM 7.0.03 Patch09 Error: Importing upgrade workflow. Performing upgrade for: BMC Atrium CMDB 2.1.00 patch 000 stage 3 Problem upgrading to 2.1.00 patch 000 stage 3 using metadata-upgr-import-OSD.txt Once the problem has been resolved, repeat the installation. _attend WWRUG11 www.wwrug.com http://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com http://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Congrats Joe D'Sousa
Congrats Joe Arslist MVP Missed you at wwRug10, but your drink did not go to waste. :-) Maybe next year Herb Partlow IB Technical Consulting O- 408.253.0344 F - 408.253.0344 C - 408.309.5316 Sent from iPhone On Oct 29, 2010, at 1:39 PM, Roys, Eric D eric.r...@verizonbusiness.com wrote: Many thanks to John Baker from Java Systems Solutions for a work-around to this via modification to the plugin code (see below and I hope I incorporated it correctly :-). I would still like to know if it is possible to configure per plugin threads via the pluginsvr.conf configuration or other mechanism. This is for an ARS 7.5 / 7.6 environment. Thanks, Eric Example singleton plugin: -- package com.company.samples; import java.util.List; import com.bmc.arsys.api.ARException; import com.bmc.arsys.api.Value; import com.bmc.arsys.pluginsvr.*; import com.bmc.arsys.pluginsvr.plugins.ARFilterAPIPluggable; import com.bmc.arsys.pluginsvr.plugins.ARPluggable; import com.bmc.arsys.pluginsvr.plugins.ARFilterAPIPlugin; import com.bmc.arsys.pluginsvr.plugins.ARPluginContext; import com.bmc.arsys.*; import org.apache.log4j.Logger; import com.company.someotherstuff*; /** * A class representing a singletone Plugin service. * This will run as a java plugin under the Remedy Java plugin framework * as a single instance instead of x instances as defined by arpluginsvr coreThreads * * Useful when the plugin calls it's own management mechanism for work distribution * or a poller mechanism that should only be initialized once. * */ public class MyPlugin extends ARFilterAPIPlugin { // initiate logger private static final Logger logger = Logger.getLogger(MyPlugin.class); // for our singleton private static MyPlugin myplug; public MyPlugin() {}; /* Initialize the Remedy plugin */ public void initialize(ARPluginContext context) throws ARException { logger.info(Started plugin init); super.initialize(context); /* check if it's already available, if not it's safe to init the code for other stuff to do */ if(myplug == null){ myplug = getInstance(); //initialize the stuff we want to run outside of current thread initializeApp(context); } } public void terminate(ARPluginContext context) throws ARException { logger.info(Terminating context); //cleanup routine here for graceful shutdown super.terminate(context); } /* start it (the plugin) */ public static void main(String[] args) { //'cause it's not ultimately useful at this juncture to accept params at startup... if(args!= null){ logger.warn(This plugin does not accept command line messaging...); } } /* initialize the meat of the plugin outside of the plugin initialization thread so the init process can complete and we aren't mucking things up (according to the docs) */ private void initializeApp(ARPluginContext context) throws ARException{ //class for storing config variables in memory instead of dealing with an overload of i/o ConfigParams cp = new ConfigParams(); try{ logger.info(calling init...); cp.initialize(); // load config file parameters into mem Thread t = new Thread(new Poller()); //thread our poller mechanism t.start(); //start the poller } catch (RuntimeException rte){ terminate(context); } } /* we aren't allowing filter api calls to this plugin because the plugin polls remedy asynchronously for all work to process */ public ListValue filterAPICall(ARPluginContext context, ListValue in) throws ARException { return null; } /* we aren't allowing event calls to this plugin */ public void onEvent(ARPluginContext context, int arg1) throws ARException { //do nothing } /* get an instance of this plugin */ private synchronized static MyPlugin getInstance() { if (myplug==null) myplug = new MyPlugin(); return plug; } } Previous message: Is it possible to configure individual plugins within a plugin server to use their own configuration for threads? I.E. if there are multiple plugins within pluginsvr_config.xml, can each have their own designated number of threads or is it only possible that each uses the numCoreThreads setting for the overall plugin server? If they need to be different from the numCoreThreads designated by the pluginserver, is there any way to handle outside of running under a different plugin server instance, and if not, can multiple plugin servers be run on the same server with a single instance of Remedy? (see below for example plugin server config) Thanks in advance for any thoughts on this... Kind Regards, Eric Roys GSSI Verizon Business Example plugin server config file... pluginsvr_config
Java plugin server thread configuration question
Eric, Well done, although there is one minor change that's required: private static final byte[] LOCK= new byte[0]; public void initialize(ARPluginContext context) throws ARException { ... synchronized(LOCK) { if(myplug == null){ myplug = getInstance(); ... } } } The lock is required because multiple threads can access that method, and you only want one to create the MyPlugin object. As a further improvement, I'd use a different object for your singleton, i.e. separate it from the plugin. Finally, do remember that in a multi-threaded model, using a singleton is a bottleneck. John -- Single Sign On for the AR System http://www.javasystemsolutions.com/jss/ssoplugin ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Display as Text for Character Field
Why not have the char field as read/write and edit the permission for Public=View and (i.e.) Infrastructure Change Master=Change ??? This will allow users to search on this field but the only ones that can change it are Change Master (or whatever you decide to use). HTH, Marcelo From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Dennis Ruble Sent: Friday, October 29, 2010 3:06 PM To: arslist@ARSLIST.ORG Subject: Re: Display as Text for Character Field ** Lisa, If you don't want to add a button or field, you can just create an Active Link that runs On Return on your field and Changes it to Read/Write. Limit permissions on the Active Link so that only authorized personnel can make the change. That way you can just click on the field, hit Return to make it Read/Write, and make your change. Customers will not have permission to make the change. HTH, Dennis Ruble Kemes, Lisa lisa.ke...@tycoelectronics.com Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 10/29/2010 02:48 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Re: Display as Text for Character Field ** Not a bad idea at all. I just didn't want to have to create another field, but it looks like I might have to if I want to keep the look that this field is locked down (so to speak) when the customer is in New or Modify mode and then open when they are in search mode. Lisa From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of John Atherly Sent: Friday, October 29, 2010 3:29 PM To: arslist@ARSLIST.ORG Subject: Re: Display as Text for Character Field ** Create another character field with an active/filter that sets the value to equal your Display as text field. Then set it up to be hidden in new record mode and in view in search search mode and the Display field run the opposite. _ John Atherly | APC by Schneider Electric | Information, Process Organization (IPO) | Remedy Administrator / Developer Phone: +401-789-5735 ext. 2120 | Fax: +401-789-3710 | Email: john.athe...@apcc.commailto:%20john.athe...@apcc.com | Site: www.apc.com/http://www.apc.com/ | Address: 132 Fairgrounds Road, West Kingston, RI 02892 USA *** Please consider the environment before printing this e-mail Kemes, Lisa lisa.ke...@tycoelectronics.com Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 10/29/2010 03:13 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Display as Text for Character Field ** I originally set up a character field as Read Only, when a customer is modifying or adding a record, they cannot change this field. When they do a search on this form, a Change Action makes this field Read/Write. (I don't want anyone to change it, but I don't mind if they search on the field). Plus I don't want to make my users use the advanced search option, I want to make it easy. Well, I need some workflow to update this field from time to time, but it won't let me because the field is Read Only. No biggee, I'll just change this field to Display as Text. (even though I don't like Display as Text sometimes, I always end up having to draw a little box around the field). But there is no Change Action to turn off this Display as Text setting when the users are doing a search on the form. Am I missing anything? Is there an easy solution to this? I'm working on the WUT (ARS 7.5 p4) AR System Server 7.1 p7 Oracle 10g Lisa Kemes AR System Developer Tyco Electronics 717-810-2408 tel 717-602-9460 cell lisa.ke...@te.com _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG11 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Leave Modify but not allow New records
All, We have successfully implemented 7.6. Existing 7.0 Incidents, Change Requests and Tasks will be resolved/closed in the 7.0 system. How can I remove the ability to submit NEW Incidents, Change Requests and Tasks but leave the users able to resolve?? Thank you, Sandra Hennigan ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are smime.p7s Description: S/MIME cryptographic signature
Recall: Leave Modify but not allow New records
Hennigan, Sandra CTR WHS/ITMD/CACI would like to recall the message, Leave Modify but not allow New records. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Leave Modify but not allow New records
Create a Filter on Submit and display an error message. Thanks Mahesh On Fri, Oct 29, 2010 at 4:11 PM, Hennigan, Sandra CTR WHS/ITMD/CACI sandra.hennigan@whs.mil wrote: All, We have successfully implemented 7.6. Existing 7.0 Incidents, Change Requests and Tasks will be resolved/closed in the 7.0 system. How can I remove the ability to submit NEW Incidents, Change Requests and Tasks but leave the users able to resolve?? Thank you, Sandra Hennigan ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are
Re: Java plugin server thread configuration question
Thanks, John. Duly noted. Again, appreciate the wisdom! Without the gory details, I believe any bottle neck here, will have little if any affect on the requirements and design for my particular need, but I'll keep searching for a better alternative. -Original Message- From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of John Baker Sent: Friday, October 29, 2010 4:08 PM To: arslist@ARSLIST.ORG Subject: Java plugin server thread configuration question Eric, Well done, although there is one minor change that's required: private static final byte[] LOCK= new byte[0]; public void initialize(ARPluginContext context) throws ARException { ... synchronized(LOCK) { if(myplug == null){ myplug = getInstance(); ... } } } The lock is required because multiple threads can access that method, and you only want one to create the MyPlugin object. As a further improvement, I'd use a different object for your singleton, i.e. separate it from the plugin. Finally, do remember that in a multi-threaded model, using a singleton is a bottleneck. John -- Single Sign On for the AR System http://www.javasystemsolutions.com/jss/ssoplugin ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: Where the Answers Are