New in DA 6.1.5: Published Views tutorial

New in DA 6.1.5: Published Views tutorial

DA 6.1.5 includes published views to allow more advanced and flexible reporting on the deployments requests made:

 

  • Application process (view_app_proc_requests)
  • Component process (view_comp_proc_requests)

 

This guide takes you through installing and accessing the views using the three database technologies. It also contains fixes to the existing DDL scripts that were released with 6.1.5

The attached document covers the following:

 

Introduction 
Step 1: Install the published views 
Step 2: View the published views 
Step 3: Run a sample query 
Further Task 
Further Information

 

 

Download the attached document for more information.

Continue reading
45 Hits
0 Comments
Featured

Mobile Friendly Process Apps Recommendations

This post could be useful for process app developers who want to create apps compatible with SBM Mobile Client. Here we gathered few recommendations on how to make process app “mobile friendly” and avoid some known limitations.
 

1      Check “Enable options for SBM mobile app” in composer

If this option is disabled, users will not see the application in SBM mobile. Submit forms will not be available, in will not be possible to select this application in work center. However, application will still be available in Service Catalog unless administrator hides it intentionally.

Checking it enables most of the possibilities mentioned below.

 Find the option under Workflow Design -> [Application] -> Options.

 

2      Use simple mode

Simple mode is mobile client feature, which allows simplifying big forms by and hiding all unnecessary controls. User can quickly switch to full view if it is needed, but the idea is to show minimum sufficient amount of controls on mobile form.

See an example simple and full view on the screen shots below.

 

By default, only required fields will be shown in simple mode. To choose which controls will be available in simple mode go to Visual Design, select some control, Property Editor -> Mobile -> Mobile client forms. Possible options are:

“Always show” – the control will be shown both in simple and full view.

“Always hide” – the control will be hidden on mobile.

“Hide in simple view” – the control will be shown only in full mode.

Besides controls, list of transition on a state form can be shown differently in simple and full view. Keep only most important transitions in simple mode. To adjust it go to Workflow Design -> select transition -> Property Editor -> Options -> Transition button on mobile form.

3      Hide transitions and controls which doesn't work on mobile

If some transition relays on unsupported features – hide it on mobile by setting “Transition button on mobile form:” option to “Always hide”. Same approach can be applied to unsupported form controls, for example widgets.

4      Avoid using JavaScript

JavaScript is not supported on mobile, when possible use build-in form actions instead. If your form heavily relies on javascript logic you may want to hide this transition as was described above.

4.1     Use rules

Since SBM 11.3 “a rule evaluates to true or false” condition is supported. You can use it instead of some java script, for example to compare values of two fields.

4.2     Use values substitution

Sometimes values need to be collected from few controls and set to another. To achieve this without java script use set field value action or refresh with string substitution.

Note: refresh is available on mobile since SBM 11.3

5      Use isMobile condition

In form actions new condition is available “the current form is (not) a mobile form”. It can be used to perform some actions only on mobile or only in web forms.

For example, you can disable some custom (java script) actions or provide alternative logic for mobile. Or in case if you want to block mobile user form this form add something like “on form loaded, if is mobile then cancel this form”.

6      Avoid using html to style the form

Styling form with html tags will not work on mobile. Use set foreground / background color form actions instead.

7      Email templates

Use $MOBILELINK() tag in email notifications templates alongside with $LINK() to provide links to items which will be opened in mobile app.

For example, email template could look like this:
Please click the link below to view the details of this service request:
$LINK( TRUE )

To launch mobile app, please click the following link:
$MOBILELINK( TRUE )

And the result will look like this be:
Please click the link below to view the details of this service request:

http://servicedesk.serena.com/tmtrack/tmtrack.dll?View&I=18096&T=1168

To launch mobile app, please click the following link:

srcmobile://servicedesk.serena.com/tmtrack/tmtrack.dll?View&I=18096&T=1168

  

8      Avoid using decision nodes with two transition forms in a row

In some cases workflow can be designed in such way that going through decision node causes two or more transition forms to be shown to user, currently such scenario is not supported on mobile. User will only see first transition form and all the rest will be skipped if no error occurs.

On a screenshot below such case is represented by Transition -> Decision -> Branch path. If “Branch” transition has some overridden required fields or is unsupported, then the transition will be automatically canceled on mobile.

9      Be aware of unsupported transition types

Currently not all transition types are supported on mobile. If the transition is Post, Subtask, Publish, Copy or External Post it will not be available on mobile.

 

10  Avoid inserting important controls into “Form features” containers

Currently form header, footer and Sidebars are not supported on mobile. So any controls put there will be absent on mobile.

 

I hope this recommendations will help you to build better apps!
And if you have any questions, feel free to ask them in the comments below.
SBM Mobile clients are available in App Store and Google Play.

Continue reading
47 Hits
0 Comments

How to save and reuse a partially filled submit form in Work Center - for either an individual or set of users

 

Since Quick Links and Folders were introduced into Work Center in SBM 11.3, you can now use them to save partially filled submit forms.

 

This is particularly useful when, as a user or set of users, there are a number of fields that you typically set to be the same at submit time.

 

The below example demonstrates how to do this for an individual user using Quick Links. If there was a set of Users who wanted to share a partially filled submit form then in (3) you would add to a specific folder and share it with appropriate users.

 

 

 

 

1) Open the submit form in Work Center

 

(2) Partially fill the form with your values

 

(3) Select Actions>Add to folder as shown below

 

 

 

 

 

 

(4) Select the Folder = Quick Links for an individual user

 

 

(5) The partially filled submit form with now be available in Work Center via the Quick Link Icon (shown below) and via Folders

 

 

(6) Select the Quick link and you will be taken to a partially filled submit form on a user by user basis

 

Note: You should use default fields instead if you wish to always set a field to a specific value on submit

 

 

Continue reading
51 Hits
0 Comments
Featured

NEW COURSE: DEPLOYMENT AUTOMATION 320 ADVANCED ADMINISTRATION AND CONFIGURATION

NEW COURSE: DEPLOYMENT AUTOMATION 320 ADVANCED ADMINISTRATION AND CONFIGURATION

Introducing a brand new e-learning course, based on the latest cutting edge technologies in Deployment Automation . The course is recommend for experienced users who have participated in the DA100 and DA120 courses.
 

Course Goal


 
To provide a familiarity with the more advanced capabilities of configuring Deployment Automation.
 
The course is self-paced and takes about 4 hours to complete. Progress is bookmarked automatically, allowing the student to complete the course in multiple sessions.


 

Course Objectives

 

 
Upon successful completion of this course, students will be able to:

- Create a simplified deployment application and component that will be used as the basis for advanced configuration work
- Employ the log parse in the component process
- Design considerations – repository: codestation, artifactory plus alternatives.
- Create gate and create snapshot
- Customise security create users, assign access and test
- Employ switch logic in the component process
- Install and test a plugin, create accustom plugin
- Understand an implement post processing script
- Look at advanced debug options
- Describe and implement an application rollback
- Overview of some popular plugins
- Using command line and rest to access the DA repository
 

Course Content

 

The following modules are covered:


1.Getting Started: Create Hello World Application and set user permissions
2.Improving communication: Email notifications
3.Process Enhancements: Implement log parser, switches and post process scripts
4.Auditing and quality: using snapshots, gates and approvals
5.Retrospection automation: Rollbacks
6.SDLC-wide deployment: Pipelines
7.Extend the integration reach: Custom plugins
8.Advanced access and interrogation: Command line, database queries and REST calls
9.Advanced Trouble shooting, Glossary, Quiz and Wrap-up
 
  Course can be accessed from the eLearning site.
  Contact: education@serena.com for more details.


 

Continue reading
63 Hits
0 Comments

DA Black belt certification is now live

DA Black belt certification is now live

Do take a look at the new Deployment Automation Certification module and test your knowledge of the building blocks of Deployment Automation.

In addition to the White Belt Qualification, and the intermediate level Green Belt Qualification , the advanced Black Belt Qualification is now available 

 

Green belt topics are intended to be applicable to resources developing and maintaining automations and the wider set of DA objects.

 

To qualify for the Deployment Automation White Belt, five badges must have have been earned.

To qualify for the Deployment Automation Green Belt, the white belt plus twelve additional badges must have have been earned.

To qualify for the Deployment Automation Black Belt, the white belt and green belt, plus thirteen additional badges must have have been earned.

 

The following is from the DA certification page

 

Your path to Deployment Automation certification begins by clicking the Get Certified button for the first level, the White Belt. The Each belt is awarded as you achieve the required number of badges, a badge represents a specific area of expertise within the Deployment Automation product or its related eco-systems. To receive a belt you must receive an 80% or higher grade on the related exam to progress. Basically the more badges attained the higher the belt, starting with White Belt, and then moving to Green Belt, and then to Black Belt. Once you have achieved each belt, you will be granted access to a printable certificate. To qualify for certification as DA Ninja Master, you must have already achieved Black Belt certification and completed a special project that will go through an appraisal process.

 

For more information take a look at the Black Belt Qualification page.

Continue reading
80 Hits
0 Comments
Featured

Test Connection to Server Endpoint

Imagine that you are testing a connection to server during setup or that an endpoint that was previously working no longer works.  You know that the server is beyond a firewall, but it should be off.  But then again, you have the server firewall, as well as, the hardware firewall or proxy.  Add to the configuration complexity the fact that the error message returned is cryptic at best.  What can we do?

You used to use telnet to test a connection, but Windows Servers/Workstations no have it installed by default.  What can we do?

Use PowerShell.  Here are the steps to test your connection to your LDAP server (myldap.company.com), for instance. 

Open PowerShell on your Windows Server.
Type: $TCPClient = New-Object -TypeName  System.Net.Sockets.TCPClient
Press enter.
Type: $TCPClient.Connect('myldap.company.com',389)
Press enter.
Type: $TCPClient.Connected
Press enter.
 
If the last command returns True then you have successfully made a connection.  If it returns nothing then you have not made a connection.
 
Now close your connection.
 
Type: $TCPClient.Close()
Press enter.
 
Continue reading
114 Hits
0 Comments

Using Beyond Compare within DimensionsCM 14.x

DimensionsCM 14.x ships with Araxis for file comparison/merging, however some customers like the look-and-feel of other tools such as Beyond Compare.  Here are the steps needed to configure DimensionsCM to use your utility of choice.

Configuring different compare/merge tools is documented in the System Administration Guide in Chapter 7 (“Configuring the default merge tools”).

Edit the local file %USERPROFILE%\.dmwebtools\native.properties (e.g. c:\Users\Administrator\.dmwebtools\native.properties).

 

 In that file you can configure which merge tool to use by default and override that for specific file types…to use BeyondCompare for all merge/compare operations the following configuration is used:

*(be sure to #comment out existing settings)

*the path for the Beyond Compare exe is the default install path for the current version as of this blog, BeyondCompare 3....your path may be different depending on your install selection

 

#### *****************************************************
#### *** Used by the Web Client Native Tools Installer ***
#### *****************************************************
#### ***
#### Dimensions customizable Diff/Merge properties file - to use Dimensions merge tool leave
#### USE_DEFAULTS=1. Otherwise set USE_DEFAULTS=0, then uncomment and modify the diff/merge tool
#### params as appropriate.
#### For further information on customization please consult Dimensions documentation.

# Use default diff/merge tool
USE_DEFAULTS=0

# Sample customization settings for diff/merge tools for all file extensions
#MERGE_TOOL=C:\\Users\\Administrator\\.dmwebtools\\Compare.cmd
#MERGE_PARAMS = merge %a %d1 %d2 %t
#DIFF_TOOL=C:\\Users\\Administrator\\.dmwebtools\\Compare.cmd
#DIFF_PARAMS= diff %a %d1 %d2


#### Beyond Compare
MERGE_TOOL=C:\Program Files (x86)\Beyond Compare 3\BCompare.exe
MERGE_PARAMS ="/fileviewer /savetarget=%t %d1 %d2"
DIFF_TOOL=C:\Program Files (x86)\Beyond Compare 3\BCompare.exe
DIFF_PARAMS=/fileviewer %a %d1

# Sample desktop client specific customization settings for diff/merge tools for DOC file extensions
# MERGE_TOOL_DOC=C:\\Program Files\\Winmerge\\winmerge.exe
# MERGE_PARAMS_DOC =/e %a %d1 %t
# DIFF_TOOL_DOC =C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\Bin\\windiff.exe
# DIFF_PARAMS_DOC= %a %d1

# Java specific
JNI_PATH=C:\\Users\\Administrator\\.dmwebtools

Recent Comments
Paul Caruana
Great post Josh!
Monday, 20 November 2017 9:09 AM
Brandon North
x
Tuesday, 14 November 2017 6:06 AM
Continue reading
145 Hits
2 Comments

Dimensions CM "How To" Presentations & Demos

This morning we completed the second of our Virtual User Group webinars focused on a series of How To topics. Recordings are available for the first two completed VUGs, and registration is available for our next VUG on December 12th.

 

June 26th: Dimensions CM VUG: Projects Streams and Branching Patterns

 

 

Development teams are switching to modern development practices and they are branching and merging, not per-file, but per change set and branch etc. CM practices are evolving these and can easily be accommodated in Dimensions CM. Take the lead in modernizing your CM implementation and learn how to adopt modern patterns and practices that speed development with quality

 

October 10th:  Dimensions CM VUG: Implementing Continuous Integration and Inspection Tool Chain Practices

 

Adopting these disciplines and practices, learn how you can show if your teams are converging to quality or diverging from quality in real time. Through an automated Continuous Inspection Toolchain providing rapid feedback to development increase the quality and release readiness of development deliverables and optimize automation of your deployments.

 

December 12th: Dimensions CM VUG: Saving Time and Rework Through Automated Code Review with Key Insights

 

Automate and secure collaborative code reviews together with key code-review metrics and insights within your development lifecycle to measure and address findings and vulnerabilities on every stream. Learn how to include and aggregate results from code-centric tools to further eliminate risks and increase quality assurance within development and engineering.

 

As always, we encourage and welcome additional topics of interest and feedback and I'll look forward to hearing from you.

 

 

Continue reading
226 Hits
0 Comments

Deployment Automation Green Belt Certification is now live

Deployment Automation Green Belt Certification is now live

Do take a look at the new Deployment Automation Certification module and test your knowledge of the building blocks of Deployment Automation.

In addition to the White Belt Qualification, the intermediate level Green Belt Qualification is now available. 

 

Green belt topics are intended to be applicable to resources developing and maintaining automations and the wider set of DA objects.

 

To qualify for the Deployment Automation White Belt, five badges must have have been earned.

To qualify for the Deployment Automation Green Belt, the white belt plus twelve additional badges must have have been earned.

 

The following is from the DA certification page

 

Your path to Deployment Automation certification begins by clicking the Get Certified button for the first level, the White Belt. The Each belt is awarded as you achieve the required number of badges, a badge represents a specific area of expertise within the Deployment Automation product or its related eco-systems. To receive a belt you must receive an 80% or higher grade on the related exam to progress. Basically the more badges attained the higher the belt, starting with White Belt, and then moving to Green Belt, and then to Black Belt. Once you have achieved each belt, you will be granted access to a printable certificate. To qualify for certification as DA Ninja Master, you must have already achieved Black Belt certification and completed a special project that will go through an appraisal process.

 

For more information take a look at the Green Belt Qualification page.

 

Recent Comments
akshay luke
Thanks for sharing.
Tuesday, 07 November 2017 4:04 AM
Paul Caruana
You are welcome, let me know if you have any questions arising from the certification.
Tuesday, 07 November 2017 11:11 AM
naveen sharma
Thanks for sharing.
Saturday, 11 November 2017 7:07 AM
Continue reading
418 Hits
3 Comments
Featured

Urgent: SBM 10.x default certificates expire on 16th September. Your system will fail if you have not updated them.

ALERT: SBM 10.x default sample certificates expire 16th September and SBM will fail if they have not been updated. For more details please check the KB article here - http://knowledgebase.serena.com/InfoCenter/index?page=content&id=S142197

If you need any help or advise please contact Support.

Recent Comments
Ashish Kochaar
x
Thursday, 12 October 2017 6:06 AM
Alex Hales
x
Sunday, 22 October 2017 4:04 PM
dhoni mathew
x
Tuesday, 07 November 2017 4:04 AM
Continue reading
531 Hits
5 Comments

How to Enable the Glossary Feature in Dimensions RM

In order to use a glossary, a special class called “Glossary” is available in Dimensions RM. It needs to be added to the class definition for your RM project. This video will show you how to add the Glossary class; create a glossary report; and use the report in a document as part of your requirements deliverables.

 

Click here to watch a video on how to enable the glossary feature.

Recent comment in this post
jk rowling
thank you
Tuesday, 07 November 2017 5:05 AM
Continue reading
414 Hits
1 Comment

Make code review and continuous inspection a habit

Agile and DevOps practices enable faster delivery, higher quality and lower risk. Adoption of automated Code Review and Continuous Inspection practices help deliver on this promise.

"The average defect detection rate is only 25% for unit testing, 35% for function testing, and 45% for integration testing. In contrast, the average effectiveness of design and code inspections are 55% and 60%", in Code Complete  by Steve McConnell

Code review is systematic examination (often referred to as peer review) of source code. Of course, modern applications now include services, libraries, images etc.

Continuous Inspection is very frequent inspection of software to provide early warning of maintainability and other code quality issues, such as coding standard issues, static analysis findings, web vulnerabilities, security and licensing risks.

A successful strategy for code review and inspection requires balance between automated processes and a non-threatening, collaborative environment in order to avoid regimented peer reviews that stifle productivity and hinder adoption.

 

Modern Dimensions CM implementations enable enterprise teams to make code review and continuous inspection a habit that will speed delivery, increase quality and reduce risks in your development and deployment pipeline.

Here's how:

  1. Highlighting just the lines of code that have changed increases the efficiency and effectiveness of reviewing each commit, increasing the ability to find and collaboratively discuss coding defects.
  2. A code review that presents both the highlighted code changes AND any continuous inspection findings optimizes your inspection rate and time on every commit.
  3. Providing the ability to collaborate with the developer in reviewing while not forcing a pace that is uncomfortable to developers or reviewers encourages engagement and focus while allowing any necessary breaks for a task over a period of time can greatly improve quality of work.
  4. Incorporating a code review checklist enables teams to decide how you will measure the effectiveness of peer review and name a number of tangible goals. Checklists can be the most effective way to eliminate frequently missed steps and avoid the challenges of standardizing and avoiding omissions.
  5. Conducting the peer review on each commit, together with any code annotations, guides the reviewer through the changes in sequence, proving insight into the reasons behind code modification and insights into any inspection findings.
  6. Embracing the "shift left" feedback and results from continuous inspection optimizes your code review process beyond your wildest dreams, establishing an automated process for fixing defects and resolving inspection findings.

I urge all Dimensions CM customers to upgrade to our latest release 14.3.3 and adopt and leverage peer review and continuous inspection to create a positive review culture and make code review a habit.

As development teams and groups, we should all be creating an environment in which friends don't let friends commit "unreviewed" code to the mainline.

 

 

 

Recent Comments
riya misra
Thank you.
Tuesday, 17 October 2017 7:07 AM
Alex Hales
Thank you.
Sunday, 22 October 2017 2:02 PM
Continue reading
680 Hits
2 Comments

Embedded Reports in Print View

I have frequently come across customers that are looking to replace paper or MS Word forms with SBM.   This is a fantastic idea and SBM is a good fit.  The challenge we encountered in the past was that there was the occasion when the contents of the SBM record needed to be printed that included an embedded listing of related records.  

As you know we offer the print form that provides you the ability to configure the print view.  If you desire a pdf format, then you can choose to print to pdf.  However, not until SBM 11.2 did you have the embedded report widget available in the print form.

So, now as of SBM 11.2, you can add an embedded report widget, which now allows you to include that related list in your print form.  

Still trying to think of a use case?

How about invoicing?  If you read my blog on inserting line items, I used the invoice as an example.  Now you have the ability to print that invoice with the embedded list of items included on the invoice.  Check out the SBM_Invoice.pdf.

Configuration is not different from adding an embedded form to a state or transition form, but now adds a new benefit!

RECOMMENDED:  Use a report created in the User Workspace and ensure that you set the Optional HTML Template to "urlrpt.htm" in the Additional Options of your report.  This way you will not end up with a bunch of hyperlink text in your print view report.  This also hides the report title, number of items and other extraneous characters at the top of other report templates.

Recent comment in this post
anuj pandit
x
Monday, 06 November 2017 11:11 AM
Continue reading
531 Hits
1 Comment

DA: WebServices plugin tutorial

DA: WebServices plugin tutorial

 

Introduction

 

The Web Services plugin allows you to call REST, SOAP and DA Rest services in a modular fashion as a process step.

 

In this tutorial, we will use simple DA REST call to query the DA repository.

 

 

Implementation 

 

The attached PDF document describes the following 4 steps:

 

Step 1: Download and Install the plugin
Step 2: Create a generic process to test the plugin
Step 3: Run the Global Process
Step 4: Review the results
Further task
Further information


For more information see the PDF document.

 

Recent Comments
Paul Caruana
You are welcome Adam, let me know if you have any further questions.
Tuesday, 08 August 2017 11:11 AM
adam charles
Thank you very much for sharing this valuable information here. I got new ideas from your post. I have no knowledge about web serv... Read More
Tuesday, 08 August 2017 10:10 AM
Brenda Williams Brenda
Thank you for sharing.
Saturday, 09 September 2017 3:03 PM
Continue reading
640 Hits
6 Comments

Advanced Reports Group & Roles || Users & Roles

Included in this post is the configuration and report queries so that you can create a list of users and their assigned roles by project and a list of groups and their assigned roles by project.

Tags:
Recent comment in this post
anuj pandit
x
Monday, 06 November 2017 11:11 AM
Continue reading
666 Hits
1 Comment

New course: Dimensions CM 320 Advanced Administration and Configuration

New course: Dimensions CM 320 Advanced Administration and Configuration

 


Introducing a brand new e-learning course, based on the latest cutting edge technologies in Dimensions CM 14.3. The course is recommend for experienced users who have participated in the CM200 and CM300 courses.
 
Course Goal
To provide a familiarity with the more advanced capabilities of configuring Dimensions CM.
 
The course is self-paced and takes about 4 hours to complete. Progress is bookmarked automatically, allowing the student to complete the course in multiple sessions.

Course Objectives 


Upon successful completion of this course, students will be able to:
 
- Understand three major performance degraders and how to address them
- Describe Continuous Integration plus Continuous Inspection and its benefits
- Describe CM Build, plus alternatives: Dm_make, Maven, Jenkins
- Understand the two Jenkins CI integration options available
- Describe an overview of API offerings, including typical usage scenarios
- Understand report concepts, reporting options, published views
- Understand users inbox notifications
- Describe email notification event
- Describe a remote job and the templater
- Understand the job scheduler
- Understand what the Java API can achieve
- Describe how to access the Java API documentation (Javadoc)
- Understand the Eclipse Plugin and what it achieves
- Describe the Eclipse plugin functionality
- Complete wrap-up module including quiz
 

Course Content


The following modules are covered:

1. Performance tuning
2. Build Automation
3. Continuous Integration
4. Event Triggers and APIs
5. Reports
6. Mail notification
7. Remote jobs, scheduling and deployment scripts
8. Java API
9. Eclipse plugin
10. Glossary and Quiz
 
 Course can be accessed from the eLearning site.
 Contact: education@serena.com for more details.

Recent Comments
Paul Caruana
Great
Thursday, 27 July 2017 12:12 PM
naitik kumar
Wow!
Thursday, 27 July 2017 11:11 AM
naitik kumar
Great... look forward to trying this out
Thursday, 27 July 2017 11:11 AM
Continue reading
681 Hits
3 Comments

DA: Deployment Automation Silk Central Plugin Tutorial

DA: Deployment Automation Silk Central Plugin Tutorial

Introduction

Silk Central is an all-inclusive test management system that facilitates building quality and productivity into the testing process, speeding the delivery of successful enterprise applications. A central repository serves as the foundation for the entire quality process.

 

Implementation

 

In this tutorial, we will create a simplified automated test in Silk Central. This test will be called from the DA Silk Central plugin.

 

The attached PDF document describes the following 10 steps:

Step 1: Install Silk Central
Step 2: Install and Configure Silk Execution Server   
Step 3: Create a Silk Central Requirement and Test   
Step 4: Create the Test Script   
Step 5: Create an Execution Plan   
Step 6: Run the execution plan   
Step 7: Track the Execution Plan   
Step 8: Download and Install the plugin   
Step 9: Create a generic process to test the plugin     
Step 10: Run the Global Process     


For more information see the PDF document.

 

 

 

Recent Comments
Crystal Thompson
Thank you for this article.
Sunday, 10 September 2017 7:07 PM
Paul Caruana
You are welcome Crystal, let me know if you have any further questions.
Monday, 11 September 2017 7:07 AM
Continue reading
663 Hits
2 Comments

Introducing ModScript - the next evolution in SBM scripting

Introduction

Beginning in version 11.3, SBM supports a scripting language called SBM ModScript, which offers a degree of power and flexibility beyond that available through the standard administration interfaces. SBM ModScript is accessible from the same contexts as SBM AppScript—you can associate scripts that implement custom features with transitions, notifications, and the self-registration form. You can also set up scripts that run when a user visits a special SBM URL. SBM ModScript is modeled after ChaiScript and contains extensions to support SBM. Programmers can use SBM ModScript to implement custom features in an SBM system.

Now that ModScript is available, questions have come up about the future of AppScript. To help understand what this all means, please review some of the frequently asked questions below.  And feel free to ask additional questions in the comments section. 

So what happens to AppScript?

We here at Micro Focus want to ensure that the transition from AppScript to ModScript is a smooth one, so the two will co-exist in SBM releases for some time.  We want to be sure that ModScript exceeds the capabilities of AppScript before we deprecate AppScript.  AppScript will eventually reach its sunset, but we will give customers advanced notification before that happens.

Do I have to re-write all my App Scripts?

If you want to update your current library of SBM AppScripts, you can use the SBM ModScript conversion utility. Note that this utility is provided on an experimental basis.  It is important to note that the utility provides a way to convert existing SBM AppScripts to SBM ModScript; however, the resultant script does not represent what is considered SBM ModScript that was written with best practices in mind. The utility converts the script into a usable SBM ModScript, but when you begin writing new SBM ModScripts, you do not need to follow the same conventions that resulted in the converted script.

Does this mean support for AppScript is ending in SBM 11.3?

No.  While support for AppScript will eventually end, this would be a future event. AppScript will continue to be supported in releases of SBM that include AppScript until those releases are no longer themselves supported.  By the way, you can see the Product Support Lifecycle Matrix on Micro Focus SupportLine for information on expected end-of-support dates. 

Can I continue to use AppScript in SBM 11.3?

Yes.  While Micro Focus / Serena recommends using ModScript for any new scripts to obtain the most modern and premium experience, organizations may enable and continue to utilize AppScript until such time that it is no longer included in SBM.

Will legacy process apps calling AppScript be affected by this change?

Legacy process apps are expected to continue using AppScript and should function as designed with no modifications required.  There will be no conversion of calls to AppScript to ModScript automatically.  Any changes must be done consciously by a designer.

Will defects in AppScript continue to be addressed?

It is expected that development against AppScript will end with the release of 11.3.  Any non-critical issues encountered with AppScript are not expected to be addressed in patches or to future releases of SBM.

When you say that non-critical issues will not be patched, what defines the difference between a non-critical issue and a critical issue?

A non-critical issue is an issue where business functions are still accessible but may be cosmetically affected or require an inconvenient workaround to operate properly.  Critical issues are those where no workaround is available for a required business function and the business function is not accessible or usable.  While Micro Focus / Serena will work with customers on a case-by-case basis to define the severity of any discovered issue, final characterization is at the discretion of Micro Focus / Serena.

When will AppScript be removed from the product?

At this time, Micro Focus / Serena has not identified a specific release for the removal of AppScript.  When such a release is identified, a Statement of Direction will be issued with more information.  

What resources are available to assist users in transitioning to ModScript?

The best resource is the ModScript Transition Guide in the Documentation Center. You can also ask questions here on Serena Central.

 

Continue reading
898 Hits
0 Comments
Featured

Release Control 6.2 Bonus Feature: Creating and Managing Custom Timelines

Release Control 6.2 Bonus Feature: Creating and Managing Custom Timelines

If you've installed or upgraded to Release Control version 6.2, you now have access to a handy bonus feature that makes it easy to create and manage custom timelines. This has its own separate user interface.

Although you can define timelines directly in SBM, it's nice to have a separate UI that is designed just for this purpose. It simplifies things. 

Here are just a few details to get you started, so you can get in there and explore on your own.

How do I get to the UI?

To get started, enter the following URL (changing the server name to your SBM server, of course):

http://<SBM_SERVER>/workcenter/tmtrack.dll?StdPage&Template=rlm/customGanttManager

 

What report should I choose?

You must choose a report that has all the data needed to display as a Gantt chart, such as the "All Release Trains" report. You can use that report as an example to create others of your own.

See this related blog that tells how to create various reports that can be used for timelines, such as All Environments, All Scheduled Maintenance, and All Scheduled Release Packages. 

Although this blog was written for RLC 6.0, most of it still applies to RLC 6.2. 

What can I define for my timeline?

There are several selections you can define for each timeline, such as:

  • Ranges

    Ranges are the colored bars that render horizontally across the timeline. Ranges must have a start date and an end date and may also have actual start and end dates, so that you can visually compare planned versus actual.

  • Events

    Events are single points in time represented on the timeline with icons. Like ranges, events can optionally have actual dates and icons configured for comparison.

  • Overlays

    Overlays have both ranges and events. They come from a different report than the primary items and are linked with a relational field. You can configure as many overlay items as you need. This powerful feature enables you to plot ranges and events from different items directly on the timeline of the primary item. In the default configuration, we use this to plot milestones on the release train.

  • Child Items

    In addition to overlays you can add child items, which can have their own ranges, events, and even overlays. If you expand the primary items you will see all of its child items plotted on the timeline underneath it. 

For more details on each of these, see this related blogAlthough this blog was written for RLC 6.0, most of it still applies to RLC 6.2.   

Share with the Community 

Please share your experiences with this new feature with the Community. We look forward to hearing from you!

 

 

Recent Comments
mark cook halley
x
Monday, 31 July 2017 12:12 PM
justin febar
x
Monday, 04 September 2017 9:09 AM
herry zone das
x
Monday, 04 September 2017 11:11 AM
Continue reading
878 Hits
7 Comments

Team Guru Gets a Raise with Baselines Request Templates

I was recently working with a client whose deployment process consisted of having developers email their team guru with a list of files to grab, the version of the files, the location of the files and what machine to deploy said files onto. Can you say bottleneck? Can you say lost in the (e)mail?

Now in all fairness to the client, these weren’t your typical files. They consisted of Informatica files, Oracle files, and shell scripts that needed to be deployed together in some cases and separately in others. In other words, not your typical deployments.

Luckily the client was looking for a solution to manage their parallel development as well as with automating their deployments. Dimensions CM and Deployment Automation to the rescue. With these two products, we could also help the team guru get more control on the incoming tsunami of requests. Ironically we did it with a request. Dimensions CM Request that is.

Below I will show you how to use Requests to create a Baseline to contain only the files that need to be deployed and then how to map Dimensions CM with Deployment Automation to perform the actual deployments.

Please note, that I don’t have an Informatica system to show you but I think you’ll get the gist.

Create Baseline Template

First thing to do is create a Baseline Template where the Scope is Requests. This will allow you to specify the criteria for inclusion of file revisions based on a list of requests. Later when we make modifications to a file and deliver into a stream, we will relate it to a request. This will automatically create an In Response To relationship in which the baseline will use to include the files. 

From the Admin Console create your baseline template like the one below.

 

Next add the Requests that should be included in the template along with the criterion like below.

 

  • Request Type: The request type for which this criterion applies.
  • Request Status: The lifecycle state of requests to be used in the selection criteria.
  • Baseline status code:
    • Choose SUP to include requests at the specified state and upward.
    • Choose EQS to include requests only at the specified state.

Note, that once you use the template to create a baseline you cannot modify the template. It’s best to just add all your request types that could be used for creating baselines. 

Map Dimensions CM Product with Deployment Automation Application

Beginning with Dimensions CM 14.2 you could optionally install Deployment Automation (DA) with Dimensions CM. But starting with v14.3, you could use DA instead of Dimensions Deployment areas when deploying baselines.

If you have not already configured Dimensions to use DA, modify your Product in the Admin Console like below mapping the CM Products to the DA Application. For complete details see the Dimensions CM Deployment Guide. You will need to make modifications to the dm.cfg file, setup authentication between the two products, and map the GSL to DA environments. Note, during a fresh installation this will be automatically configured for you.

 

At this point you may be asking yourself what mappings are allowed. You can map one CM Product to one DA Application or many CM Products to one DA Application. See below for what is okay and what is not okay.

But that’s okay! This is not a limitation.

We can use many Component Processes within the same DA Application to deploy Informatica, Oracle, and shell scripts together or separately. Look for blog later on about the pros and cons on whether to use one component with many processes or many components with their own processes.

 

 

Create Baseline

Now back to solving our team guru’s workload. 

First, we need to make a file modification and relate it to a Request upon delivery (or check out if using Projects). When you do this, CM will automatically create an In Response To relationships between the file and the request.

Second. Action your request to the correct lifecycle state to fit the criterion you specified above when you create your template.

Now you can create your baseline. 

When you do remember to select your Request and Baseline Template as shown below. 

 

 

Now you have a baseline that only contains the files related to the Request (DEMO_TASK_1). 

 

 

If you have Dimensions CM setup with the Deployment Automation tool, you can now deploy your baseline that will only deploy your specific file(s) base on a Request.

 

Summary 

Dimensions CM is a powerful tool in that it allows the developers to relate their source code directly to their Tasks. The In Response To relationship between source code and requests is invaluable. 

That’s great Rose but what about the poor guy that is overwhelmed by all the emails? 

When the developers actions their Tasks to the next state in the lifecycle, Dimensions CM can email the person with all the information that is needed for him/her to deploy the files.

Dimensions knows which files to grab, the version of the files, the location of the files and DA knows what machine to deploy said files onto. Can you say no more bottleneck? 

Okay, so the team guru is still getting emails, but with the time saved from not having to deploy manually allows the guy to keep up with all the requests coming in. Not to mention providing nice reports and metrics for his management. “Look at all this work I’m getting done boss, I think I need a raise” said the team guru.

Recent comment in this post
Paul Caruana
Great article Rose, shows good practical application.
Monday, 17 July 2017 8:08 AM
Continue reading
832 Hits
1 Comment

Recent Tweets

Twitter response: "Invalid or expired token."