Interesting :) On Mar 27, 2015 9:53 AM, "Jason Miller" <[email protected]> wrote:
> ** > Fred/LJ, > > FYI, ITSM has a variable concept within the Task Management System (i.e. > Change and Incident Tasks). They allow data to be passed between records. > Often they are used in automation (BladeLogic uses them in its integratio I > think). > > https://docs.bmc.com/docs/display/public/change81/Variable+templates > > *Variable templates* are the registration records that the task >> administrator creates and defines for variables in TMS. >> *Variables* are pieces of data (for example, in a change request or an >> entry in the parent object) that are passed to and from task groups and >> tasks, and into flows in TMS. This information can be recorded and used as >> the basis for making decisions in qualifications or as input for other >> tasks, task groups, and flows. Variable data can be generated >> automatically, or it can be supplied manually by resources working on the >> task. >> In the definition stage, the task administrator creates variable >> templates that are used for mapping in to or out of fields. Then, during >> the execution stage, these variables exchange data between the task group, >> task, or flow at runtime. >> You can register any piece of information as a variable template. You >> give it a name and assign it a default value, if needed. > > > Like you guys I am a custom developer but I have also dabbled in ITSM the > last few years. > > Jason > > > On Thu, Mar 26, 2015 at 9:26 AM, Danaceau, Chris <[email protected] > > wrote: > >> ** >> >> Not trying to get system variables from the OS, rather trying to >> initialize a system variable template with data from the parent Change >> Request. >> >> >> >> -- >> >> Thank You, >> >> >> >> Chris Danaceau >> >> FINRA >> >> 240-386-6728 (desk) >> >> 301-367-8949 (cell) >> >> Remedy FAQ >> <http://wiki.finra.org/confluence/display/TechOpsCtr/Remedy+FAQ> >> >> >> >> *From:* Action Request System discussion list(ARSList) [mailto: >> [email protected]] *On Behalf Of *Grooms, Frederick W >> *Sent:* Wednesday, March 25, 2015 3:38 PM >> >> *To:* [email protected] >> *Subject:* Re: Is it possible to pass data from a Change Request to a >> System variable? >> >> >> >> ** >> >> In a filter a simple Set Fields with PROCESS action can get an >> environment variable from the server >> >> >> >> On Windows >> >> $PROCESS$ cmd /c echo %VARIABLE% >> >> On Unix/Linux >> >> $PROCESS$ echo $VARIABLE >> >> >> >> >> >> i.e. To get the TEMP location >> >> In a set fields action set a character field to >> >> $PROCESS$ cmd /c echo %TEMP% >> >> >> >> NOTE: You may then have to do a replace on the field to remove the >> return at the end (Some versions of *nix will allow you to do echo –n >> $VARIABLE which will output without the trailing newline) >> >> >> >> Fred >> >> >> >> *From:* Action Request System discussion list(ARSList) [ >> mailto:[email protected] <[email protected]>] *On Behalf Of *LJ >> LongWing >> *Sent:* Wednesday, March 25, 2015 2:14 PM >> *To:* [email protected] >> *Subject:* Re: Is it possible to pass data from a Change Request to a >> System variable? >> >> >> >> ** >> >> Chris, >> >> Write a batch file/perl script/your favorite language that will get the >> variable and it's value and put it in the output of the script. Put the >> script on all of your environments. Create a filter that does a set-field >> run-process that populates a field with the output from that script, then >> do whatever you want with the output :) >> >> >> >> >> >> On Wed, Mar 25, 2015 at 1:03 PM, Danaceau, Chris wrote: >> >> ** >> >> I want to use the environment (when Dev) to bypass certain tasks. >> Thought maybe a system variable would do this, but I can’t see how to >> populate it from data on the parent Change. Not much guidance for this >> in the documentation. I can map it INTO a task, but cannot figure out how >> to populated it. >> >> >> >> -- >> >> Thank You, >> >> >> >> Chris Danaceau >> >> FINRA >> >> 240-386-6728 (desk) >> >> 301-367-8949 (cell) >> >> Remedy FAQ >> <http://wiki.finra.org/confluence/display/TechOpsCtr/Remedy+FAQ> >> >> >> >> Confidentiality Notice:: This email, including attachments, may include >> non-public, proprietary, confidential or legally privileged information. If >> you are not an intended recipient or an authorized agent of an intended >> recipient, you are hereby notified that any dissemination, distribution or >> copying of the information contained in or transmitted with this e-mail is >> unauthorized and strictly prohibited. If you have received this email in >> error, please notify the sender by replying to this message and permanently >> delete this e-mail, its attachments, and any copies of it immediately. You >> should not retain, copy or use this e-mail or any attachment for any >> purpose, nor disclose all or any part of the contents to any other person. >> Thank you. >> >> >> >> >> >> >> >> _ARSlist: "Where the Answers Are" and have been for 20 years_ >> Confidentiality Notice:: This email, including attachments, may include >> non-public, proprietary, confidential or legally privileged information. If >> you are not an intended recipient or an authorized agent of an intended >> recipient, you are hereby notified that any dissemination, distribution or >> copying of the information contained in or transmitted with this e-mail is >> unauthorized and strictly prohibited. If you have received this email in >> error, please notify the sender by replying to this message and permanently >> delete this e-mail, its attachments, and any copies of it immediately. You >> should not retain, copy or use this e-mail or any attachment for any >> purpose, nor disclose all or any part of the contents to any other person. >> Thank you. >> _ARSlist: "Where the Answers Are" and have been for 20 years_ >> > > _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

