Время создания
Filters

Hi,

I’m working on a project in Creatio Freedom UI and need some guidance on the following:

1. How to Display a Dropdown of All Business Processes Within a Form Page?

I’d like to add a field in a list that displays a dropdown containing all available business processes. I've tried creating a lookup using VwProcessLib but it throughs an error. Has anyone successfully implemented this? What would be the best approach?

2. How to Create a Button to Add a New Business Process in a Form Page?

I want to add a button that allows users to create a new business process directly from a form page. Ideally, clicking the button would open the Process Designer to start configuring a new process. What’s the best way to do this in Freedom UI?

Any insights, step-by-step guidance, or code snippets would be greatly appreciated! Thanks in advance for your help!

 

Like 0

Like

3 comments

Re #1: I've been able to use VwProcessLib for a lookup of processes successfully (since it's a view I check the "Do not control integrity" option for the lookup). What type of error are you getting?

Re #2: You can call the following: 

Terrasoft.ProcessModuleUtilities.showProcessSchemaDesigner()

Ryan

Thanks for the suggestion! Using VwProcessLib and enabling 'Do not control integrity' worked perfectly. The issue is resolved now—really appreciate your help!
 

As for the second question, I'm new to creatio so I was wondering where I would add the line: Terrasoft.ProcessModuleUtilities.showProcessSchemaDesigner()

Anjali,

That is just Javascript code. You'd add that where ever you're wanting to launch the new process window. I assume you'd be adding a button somewhere, the code that runs on the click of that button would execute that code. If you're using a Freedom UI page, you can see how to wire up the click event of a button here: https://customerfx.com/article/adding-a-button-to-execute-custom-code-on-a-creatio-freedom-ui-page/

Ryan

Show all comments

How do I know what the current app package is?

Thanks,

Like 0

Like

1 comments

The new behavior is Creatio tries to make it's best judgement of where to save things, it doesn't user the Current Package setting. It's not often correct in where it decides to save things IMO and a bit frustrating, so there's really no where to see it because the system will decide differently based on what item you're trying to save. This article shows how to force save a page into a certain application's pacakge or to turn off the new way and revert back to using the Current Package system setting instead: https://customerfx.com/article/reverting-the-behavior-for-saving-pages-in-the-creatio-freedom-ui-designer-to-use-current-package-setting/

Ryan

Show all comments

Hello,

Could I get some help understanding or directing me to an article that thoroughly explains the lookup titled "Package in installed application?"

What does the "Primary" check box do? What does the "Current package" check box do?

Can a package be named in more than one row, aka, more than one application?

I cannot locate an academy article explaining this function.

Like 0

Like

1 comments

Check out this article:

Store app data | Creatio Academy

Show all comments

Hello, community!

I’ve created a script that helps convert HTML text from a database into plain text.
 

To achieve this, you’ll need to add two libraries to the business process:


 

Then, use the following script task:



string texthtml = Get("texthtml");

if (string.IsNullOrWhiteSpace(texthtml)) {
   Set("DecodedHtmlText", string.Empty);
} else {
   // Remove HTML tags
   string text = Regex.Replace(texthtml, "<.*?>", string.Empty);

   // Decode HTML entities (e.g., & -> &)
   text = WebUtility.HtmlDecode(text);

   // Store the result in a business process variable
   Set("DecodedHtmlText", text);
}
 

return true;

* texthtml - parametr where our html text stored
* DecodedHtmlText - text type parametr to set text



I hope this will be useful!

 

Like 1

Like

Share

0 comments
Show all comments

CRN awarded our Partner Program with 5-star rating in the 2025 CRN® Partner Program Guide –  8th year in a row! 

 

Our partners are the driving force behind our success, and this recognition reaffirms our commitment to building profitable, scalable, and high-impact partnerships rooted in Genuine Care. CRN awards this prestigious rating only to vendors that go above and beyond in empowering their partners. 

 

Learn more about the 2025 CRN® Partner Program Guide: https://www.creatio.com/company/news/23762 

Like 19

Like

Share

0 comments
Show all comments