• How to convert "Shell.Params()" to a ChaiScript "Map" object?

    The ModScript docs for the Dictionary object say: A class for supporting dictionary objects in scripts that are converted from SBM AppScript to SBM ModScript. A dictionary is a case sensitive key-value container. In general, use ChaiScript's Map…
  • JavaScript SetFieldValue on Single Selection

    I am struggling to get my JavaScript to work. What am I missing? REQUEST_STATUS has 4 attributes. When the form is submitted, I am wanting REQUEST_STATUS to go to "Pending". Once its assigned "Working". When closed "Complete". All else "Open". …
  • SBM Internal Passwords - Can an Email Alert be Sent to Alert a User to an Upcoming Password Expiration

    We have an internet-facing applications that uses SBM Internal Passwords. We would like to send a user an alert when the account has not logged in within x days or the password is due to expire on mm/dd/yyyy. Is there a way to do this?
  • Help in writing a proper where clause

    Hi, I'm a newbie to Serena and team script. I'm trying to write a script to identify the entry in ts_changeactions table for a particular transaction. The same query which is working in sql developer is not working in script. Can someone help me to correct…
  • Java Script on transitions, multiple scripts

    We are on SBM 10.1.3 and I am trying to add a java script to a new transition form. I think my script is too long, because the last section of my script is not working. If I move that section to the top of the script, it works, then the new last section…
  • Java script for state form not working

    This script doesn't seem to work: function customLoadCallback() { var text1 = GetFieldValue("ITEM_DESIGNATION_FOR_SSR_C"); var text2 = IsFieldUnchecked("SOFTWARE_PROMOTE"); alert("text1 = " text1); alert("text2 = " text2); if (text1 == "SSR"
  • SBMscript: How to write a value to a single selection field

    Can someone show me how to assign a literal to a single selection field using SBMscript? I've selected the value I want in an item in the client, but I'm not sure how to find the value in Toad. As a workaround, I'll try to display both the field value…
  • How to submit new Item using sbm AppScript???

    I need to create 3 new Items, during my script work, and additional question is how to set required fields, if they are exist on my default submit transition???
  • Can't set the display name of STATE field to another table's field.

    I have a script working on Notification context. It reads fields from a table and set values to another field's table. But, I can't set the STATE display value, cause Mashups is always returning the ID of the value of the STATE field. Help, please? -…
  • How to Filter drop-down list values?

    I have added field "tag " to the table "Company" in Global MashUp. How to show in the drop-down list on transition form only companies which "tag" field = "yes" I've tried to fill drop-down list field, but can't find function to write it.
  • Date Validation Question

    Does anyone have a script that will validate the date entered to insure it is not prior date. For example if I enter Requested Start dat, you will not be ablt to enter yesterday. I would also like to send a message to the user explaining the error, blank…
  • Scripts not triggered for "External Post Transition"

    I have a script that I am trying to activate on an "External Post Transition" (posting a record from one workflow to another) that is not being called - does anyone have any ideas? Essentially the script is to confirm if the record is in a specific state…
  • Is it possible to use scripts to populate single or muti-relational fields that point at auxiliary table?

    Is it possible to use scripts to populate single or muti-relational fields that point at auxiliary table. I currently have an asset record axillary table. The table contains information on manufacture, parts number, model number, and other specs. I want…
  • Remove an Attachment via a script

    Does anyone know of a way to delete an attachment through a script on a transition?
  • Can I force all Drill-Down report items to open in a new window?

    I have a requirement to view multiple reports on one page. I tried using a multi-view report, but cannot pass date parameters to all of the included reports. My work-around for this was to create a script that would show all of the reports (each in its…
  • Quick transition based off a choice of a single selection field

    Discussion posted 3/6/08 by George Bonvanie, last edited 9/23/08 by a zonderman Details: ckdwyer I am trying to execute a "quick transition" based off the choice of a single selection field. Does anyone have any ideas on how this could be accomplished…
  • Create Subtask from a script

    Question posted 5/29/08 by poisonivvy Details: Just wondering, is it possible to manually make/add a subtask using a script? I know that you can mark the transition to 'Create a Subtask', but what I'm running into is that there will be between 5-7 subtasks…
  • A script doesn't work in Mashup ....

    Discussion posted 12/17/08 by Daniel Barrette Details: Hi, I made an upgrade to Mashup and there has a 'simple' script that I had in TeamTrack 6.6.1 with a 'Draft' transition that doesn't work now. I don't realy find how can i resolve it... Maybe someone…
  • How to Implement Pre and Post Transition Scripting

    Question posted 2/24/09 by Loren Hale Details: I would like to implement a review board type scenario. This is very common and I believe still needs to be done via teamscript. I would like to have several people part of a review board as secondary owner…
  • How Can you Call a Report from Mashup Script?

    Question posted 3/27/09 by msmith Details: I have created my own script to query specific information for me to display in an External Report, what I would like to do is hyperlink the values that my External Report calculates so that users can click them…
  • Subtask or script to do this work?

    Question posted 4/2/09 by Daniel Barrette Details: Hi, I’ve to create a new workflow and for a step in the process the ‘Owner’ needs to select some applications in the form. When he will have checked the applications that he needs, he will submit the…
  • How to Invoke a Transition in a Mashup Script

    Question posted 5/20/09 by msmith Details: How do I execute a transition from a mashup script?
  • Script on transitions

    Question posted 7/6/09 by Stephane Venne Details: Is there a way to easily add a script for every transition? I don't feel like adding it manually to all the transitions in my workflow. Thanks, any idea appreciated!
  • How do you access an items fields in the context of a notification using script?

    Question posted 8/31/09 by Matthew Frisken, last edited 9/1/09 Details: I have a notification that runs a script. I want to get a few fields from the item which the notification triggered on so I can use that data to automatically to create a new item…
  • Ext.LoadString() not returning data from custom String ID

    Question posted 1/28/10 by Mark Eliason Details: I've created a custom String Id and would like to pull it into a script using Ext.LoadString(). It doesn't seem to be working though...strCustomString (shown below in the code snippet) is always returned…