Re: Changing the content of a diary field with filters

2012-10-01 Thread Longwing, LJ CTR MDA/IC
Yes, but if the web service is setting itand you have a filter that is ALSO 
setting ityou are setting it twiceyou want to change what they are 
putting in it to what you want to put in it...so that's a change to the 
'existing' value

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Jose Manuel Huerta Guillén
Sent: Monday, October 01, 2012 2:25 PM
To: arslist@ARSLIST.ORG
Subject: Re: Changing the content of a diary field with filters

** Just to clarify, I don't want to change the old content, just the new 
sentence that the user wants to add.

Jose Manuel Huerta
http://theremedyforit.com/ 




On Mon, Oct 1, 2012 at 8:11 PM, Longwing, LJ CTR MDA/IC 
 wrote:


Jose,
The Remedy interface as BMC presents it does not have the ability to 
'modify' a diary content.  The only option to do that is to do it with the API 
with a 'merge' action.  But for your scenario, yes, present a display only char 
field as your diary, then do a setfield in workflow to the actual 'corrected' 
text.

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Jose Manuel Huerta Guillén
Sent: Monday, October 01, 2012 12:06 PM
    To: arslist@ARSLIST.ORG
    Subject: Changing the content of a diary field with filters

**

Hi listers,

I have a requirement: To modify the content of the new addition to the 
diary field: from a web service! That means to use filters.

The requirement, is that if a pattern like S## (the user ID) is 
found at the text, the name is added inside. For instance, if at the diary the 
next text is received:

The user S013802 is offline.

Then the diary must add something like

The user S013802 (Jose Manuel Huerta) is offline.

Process the text field is trivial, but if I use a set action to change 
the content, like Diary = $ProcessedText$

The result is

01/10/2012 19:51:48 UserMonitor
The user S013802 is offline.

The user S013802 (Jose Manuel Huerta) is offline.


I think that the only solution I have is to present a display only text 
field as the diary to the web service, process it and insert it to the actual 
diary.

But I wonder how can I change the submitted diary content? Is it 
possible?

Thanks!

Jose Manuel Huerta
http://theremedyforit.com/



_attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"



_attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ 

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Changing the content of a diary field with filters

2012-10-01 Thread Jose Manuel Huerta Guillén
Just to clarify, I don't want to change the old content, just the new
sentence that the user wants to add.

Jose Manuel Huerta
http://theremedyforit.com/




On Mon, Oct 1, 2012 at 8:11 PM, Longwing, LJ CTR MDA/IC <
lj.longwing@mda.mil> wrote:

> Jose,
> The Remedy interface as BMC presents it does not have the ability to
> 'modify' a diary content.  The only option to do that is to do it with the
> API with a 'merge' action.  But for your scenario, yes, present a display
> only char field as your diary, then do a setfield in workflow to the actual
> 'corrected' text.
>
> -Original Message-
> From: Action Request System discussion list(ARSList) [mailto:
> arslist@ARSLIST.ORG] On Behalf Of Jose Manuel Huerta Guillén
> Sent: Monday, October 01, 2012 12:06 PM
> To: arslist@ARSLIST.ORG
> Subject: Changing the content of a diary field with filters
>
> **
> Hi listers,
>
> I have a requirement: To modify the content of the new addition to the
> diary field: from a web service! That means to use filters.
>
> The requirement, is that if a pattern like S## (the user ID) is found
> at the text, the name is added inside. For instance, if at the diary the
> next text is received:
>
> The user S013802 is offline.
>
> Then the diary must add something like
>
> The user S013802 (Jose Manuel Huerta) is offline.
>
> Process the text field is trivial, but if I use a set action to change the
> content, like Diary = $ProcessedText$
>
> The result is
>
> 01/10/2012 19:51:48 UserMonitor
> The user S013802 is offline.
>
> The user S013802 (Jose Manuel Huerta) is offline.
>
>
> I think that the only solution I have is to present a display only text
> field as the diary to the web service, process it and insert it to the
> actual diary.
>
> But I wonder how can I change the submitted diary content? Is it possible?
>
> Thanks!
>
> Jose Manuel Huerta
> http://theremedyforit.com/
>
>
> _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Re: Changing the content of a diary field with filters

2012-10-01 Thread Longwing, LJ CTR MDA/IC
Jose,
The Remedy interface as BMC presents it does not have the ability to 'modify' a 
diary content.  The only option to do that is to do it with the API with a 
'merge' action.  But for your scenario, yes, present a display only char field 
as your diary, then do a setfield in workflow to the actual 'corrected' text.

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Jose Manuel Huerta Guillén
Sent: Monday, October 01, 2012 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Changing the content of a diary field with filters

**
Hi listers,

I have a requirement: To modify the content of the new addition to the diary 
field: from a web service! That means to use filters.

The requirement, is that if a pattern like S## (the user ID) is found at 
the text, the name is added inside. For instance, if at the diary the next text 
is received:

The user S013802 is offline.

Then the diary must add something like

The user S013802 (Jose Manuel Huerta) is offline.

Process the text field is trivial, but if I use a set action to change the 
content, like Diary = $ProcessedText$

The result is

01/10/2012 19:51:48 UserMonitor
The user S013802 is offline.

The user S013802 (Jose Manuel Huerta) is offline.


I think that the only solution I have is to present a display only text field 
as the diary to the web service, process it and insert it to the actual diary.

But I wonder how can I change the submitted diary content? Is it possible?

Thanks!

Jose Manuel Huerta
http://theremedyforit.com/ 


_attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ 

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"


Changing the content of a diary field with filters

2012-10-01 Thread Jose Manuel Huerta Guillén
Hi listers,

I have a requirement: To modify the content of the new addition to the
diary field: from a web service! That means to use filters.

The requirement, is that if a pattern like S## (the user ID) is found
at the text, the name is added inside. For instance, if at the diary the
next text is received:

The user S013802 is offline.

Then the diary must add something like

The user S013802 (Jose Manuel Huerta) is offline.

Process the text field is trivial, but if I use a set action to change the
content, like
Diary = $ProcessedText$

The result is

01/10/2012 19:51:48 UserMonitor
The user S013802 is offline.

The user S013802 (Jose Manuel Huerta) is offline.


I think that the only solution I have is to present a display only text
field as the diary to the web service, process it and insert it to the
actual diary.

But I wonder how can I change the submitted diary content? Is it possible?

Thanks!

Jose Manuel Huerta
http://theremedyforit.com/

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"