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.