7.13_()
sales_enterprise

Hi All,

You know about this error?

Like 0

Like

7 comments

Yeah, I experienced the same thing.

When I finish compile all, and try to login again, and then this error appers.



I try in local 7.13.4

you know how to fix the problem?

Me too,

I have restart redis FLUSHALL and FLUSHDB but still show that error

No, I don't know. That error is new for me. When I check the console.log nothing error show.



I try check user in mssql, try to renew password, restart iis, restart redis, but still not work ehee..

Romadan Saputra,

Have you checked error log? Usually it is located in

C:\Windows\Temp\BPMonline. 

Angela Reyes,

I already ask support and attach the my db to analyst.

The result is, contact used for user does'nt have "name", which means the name in contact is not filled. That caused authorize failed.

When I edit the contact direct from db, boomm, the case is solved.

Lili Syaripudin,

I hope, you read my last comment for the solution your case.

Show all comments
Activity
Business Process
7.13_()
sales_enterprise

Hi all!

I am using the Task element in multiple business processes. The problem is that the activity window does not open once the step is executed. The step in the log remains in the "Running" state until the activity is completed.

Here is the simple process design: https://ibb.co/YZmBz5t

Any suggestions about it?

Thank you

Like 0

Like

5 comments

Dear Uriel,

From the screenshot provided I can see that this task is performed by someone who is read in the "Read data" element. And what will happen if the user whose information we are getting from the "Read data" element is not logged in? Nothing happens, he will only see a notification in the CTI-panel.

Please change "Who performs the task" field value to current user contact and you will see that the page will open for the contact who started the process.

Best regards,

Oscar

Oscar Dylan,

Thank you Oscar! I understand but in this case I'm trying with user supervisor who is the owner of the opportunity. In the "Who performs the task" I've set "

#Read Opp Data.First item of resulting collection.Owner#. Do not you think it should work? I tried with current user contact same behavior. The page isn't open

Regards,

 

Uriel,

Check in the Activity section if activities are created - I tired to create

similar process and it was working fine. 

Best regards,

Angela

Angela Reyes,

Thank you Angela.

The activities are create but I need that the window activity being opened. That is the problem.

Thank you again!

Regards

I resolved it , unchecking "Run following elements in the background" in the signal element.

Thank you!

Show all comments
Connected to
relationship
7.13_()
sales_enterprise

How do I add additional relationships to my Connected to options between accounts? I have gotten to the page- but I don't see how to add an additional relationship.

Like 0

Like

1 comments

Dear Heather,

 

To add a custom object to the connected to of the Account you would need to add corresponding record to the EntityConnection table in db with  SysEntitySchemaUid is a Uid of the Account and ColumnUId is a column uid that can be found in the SysEntitySchemaReference table. For implementing this please analyze the EntityConnection table and SysEntitySchemaReference  to have an understanding of which record you need to add. For example you can execute the following script: 

select SysSchema.Name, ColumnName, EntityConnection.* from EntityConnection inner join SysSchema on SysEntitySchemaUid = SysSchema.UId inner join SysEntitySchemaReference on EntityConnection.ColumnUId = SysEntitySchemaReference.ColumnUId

Best regards, 

Dennis 

Show all comments
reportservice
userconnection
script task
supervisor
printables
help
7.13_()
sales_enterprise

I try to run the script task in a business process to create a printable. If the business process is started by user, it'll work just fine, but when the process is started by another process or an event it'll break with an exception:

System.NullReferenceException: Object reference not set to an instance of an object.

   at Terrasoft.Configuration.ReportService.ReportService.GetSchemaNameByTemplateId(Guid templateId)

   at Terrasoft.Configuration.ReportService.ReportService.GenerateMSWordReport(String urlTemplateId, String urlRecordUId, Boolean convertInPDF)

   at Terrasoft.Core.Process.ProcessInvoiceAutoSendCustom1Custom21Custom2MethodsWrapper.ScriptTask2Execute(ProcessExecutingContext context)

   at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)

The script task is like this:

var PrintableId = Get<string>("PrintableId2");
var ObjectIdInvoice = Get<string>("ObjectIdInvoice1");
var ConvertToPdf = Get<bool>("ConvertToPdf");
var AddInvoiceId = Get<Guid>("AddInvoiceId");
var AttachmentType = Get<Guid>("AttachmentType");
 
var userConnection = Get<UserConnection>("UserConnection");
 
var reportService = new Terrasoft.Configuration.ReportService.ReportService();
Terrasoft.Configuration.ReportService.ReportData report = reportService.GenerateMSWordReport(
    PrintableId, ObjectIdInvoice, ConvertToPdf);
var entity = userConnection.EntitySchemaManager.GetInstanceByName("InvoiceFile");
var fileEntity = entity.CreateEntity(UserConnection);
fileEntity.SetDefColumnValues();
fileEntity.SetColumnValue("InvoiceId", AddInvoiceId);
fileEntity.SetColumnValue("TypeId", AttachmentType);
fileEntity.SetColumnValue("Name", "Invoice.pdf");
fileEntity.SetColumnValue("Data", report.Data);
fileEntity.Save();
return true;

I guess ReportService doesn't obtain UserConnection from Supervisor user, so it can't get instance of "InvoiceFile". Is that the case?

How to change the script to make ReportService work with Supervisor or maybe with UserConnection of another user?

Like 0

Like

3 comments

In a script task in an interpretive business process you need to get "user connection"  with the following syntax:

var userConnection = Get<UserConnection>("UserConnection");

Additionally, please note that if you want to work with process parameters in a script task, you need to write in the following manner:

var parameter1 = Get<Guid>("Parameter1");

Set("Parameter2", parameter1.ToString());

var parameter2 = Get<string>("Parameter2");



Also, from exception message it seems that desired template not exists in the system, so you should check it.

I have a similar requirement to send report automatically to users at a certain frequency. We use Creatio 7.18.5 and the report was built using the old ReportDesigner for 7.14 and was carried over to the new version when we upgraded. 

I tried to follow this article to create the report as part of our process - https://community.creatio.com/articles/generate-printable-and-send-it-attachment-email

When the process is manually run by the user, the report gets generated. But when scheduled to run by Supervisor using timer, it gives below error - 

Terrasoft.Core.InstanceActivationException: Error creating an instance of the "Terrasoft.Tools.DevExpressReport.IReportProvider" class ---&gt; Ninject.ActivationException: Error activating UserConnection using binding from UserConnection to method
Provider returned null.
Activation path:
  3) Injection of dependency UserConnection into parameter userConnection of constructor of type DevExpressConfReportLocalizationReader
  2) Injection of dependency IDevExpressReportLocalizationReader into parameter reportLocalizationReader of constructor of type ConfigurationDevExpressReportProvider
  1) Request for IReportProvider
 
Suggestions:
  1) Ensure that the provider handles creation requests properly.
 
   at Ninject.Activation.Context.ResolveInternal(Object scope)
   at Ninject.Activation.Context.Resolve()
   at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings)
   at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Ninject.Activation.Providers.StandardProvider.Create(IContext context)
   at Ninject.Activation.Context.ResolveInternal(Object scope)
   at Ninject.Activation.Context.Resolve()
   at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings)
   at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Ninject.Activation.Providers.StandardProvider.Create(IContext context)
   at Ninject.Activation.Context.ResolveInternal(Object scope)
   at Ninject.Activation.Context.Resolve()
   at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings)
   at Ninject.ResolutionExtensions.Get[T](IResolutionRoot root, IParameter[] parameters)
   at Terrasoft.Core.Factories.ClassFactory.GetInstance[T](Func`1 action)
   --- End of inner exception stack trace ---
   at Terrasoft.Core.Factories.ClassFactory.GetInstance[T](Func`1 action)
   at Terrasoft.Configuration.DevExpressReportGenerator.Generate(UserConnection userConnection, ReportGeneratorConfiguration configuration)
   at Terrasoft.Core.Process.TAIAutoSendOrderLogSummaryMethodsWrapper.ScriptTask1Execute(ProcessExecutingContext context)
   at Terrasoft.Core.Process.ProcessScriptTask.InternalExecute(ProcessExecutingContext context)
   at Terrasoft.Core.Process.ProcessFlowElement.ExecuteItem(ProcessExecutingContext context)
   at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)

Below is the report generation part of the code -  

//ReportService reportService = new ReportService(userConnection);
//ReportData report = reportService.GenerateDevExpressReport(entitySchemaUId,reportSchemaUId,null,reportParamaters);
 
DevExpressReportGenerator reportGenerator = new DevExpressReportGenerator();
var configuration = new ReportGeneratorConfiguration {
				ReportTemplateId = !string.IsNullOrEmpty(reportSchemaUId) ? new Guid(reportSchemaUId) : Guid.Empty,
				EntitySchemaUId = !string.IsNullOrEmpty(entitySchemaUId) ? new Guid(entitySchemaUId) : Guid.Empty,
				RecordId = !string.IsNullOrEmpty(recordId) ? new Guid(recordId) : Guid.Empty,
				ReportParameters = !string.IsNullOrEmpty(reportParameters)
					? JsonConvert.DeserializeObject&lt;Dictionary&lt;string, object&gt;&gt;(reportParameters)
					: null
			};
ReportData report = reportGenerator.Generate(userConnection, configuration);

I understand it's an old version of the report but I would appreciate if anyone can provide any insights on what I'm missing.

Hello Nirupama, Can you check if the run elements in the background is disabled ? If that is enabled, then the process will not get the User Connection.

Show all comments
7.13_()
sales_enterprise

I have an issue when I search for a Project in the Command Line.  The project is already converted over from an Opportunity.  I can use the filter/folder and Add a filter to locate the Project, but when I enter it into the Command Line, nothing is listed under the Search Results for Projects.  

This is only happening today so far with 5 new Projects that I converted.

Like 0

Like

1 comments
7.13_()
sales_enterprise

Hi, Is the MS word plugin for MAC available?

Like 0

Like

13 comments

Hello,

Unfortunately as for now there is no plugin for MAC users, but our R&D team is working on the solution and we have a problem for them that is in "Accepted" status, so the plugin should be available in one of nearest versions of the applicaiton. We will inform them about your request so to raise the priority of the problem. Thank you for helping us to make our application better!

Best regards,

Oscar

Great!! Looking forward for the same.

Oscar Dylan,

Hi Oscar,

is there any update on this? 

Dear Oliver,

 

Thank you for being interested in Creatio products and its add-ons. 

Unfortunately, as for now, there is still no developed plug-in for devices with MacOs. We have increased the priority of this functional request and R&D team is in the progress of creating the needed plug-in. It will only be available in future application releases.

 

Best regards,

Roman

Hi, 

Any news on this subject ?

 

Thank you

Hello Mariam,

 

Thank you for your question.

This solution is yet to be developed but as you can see from the previous responses we will add your question to our R&D request in order to expedite it

 

Thank you.

Hello,



Is there any update on this?



Ty

Hello Solem Khan Abdusalam,

This solution is in the process of being developed by the responsible team.

 

Thank you for your question.

Are there any work arounds to help mac users create reports?

Sean Duffy,

 

Unfortunately, this option has not yet been realized. We have added your request to the list of requests for this feature.



We don't know the date yet, but we hope this option will be available soon.

Hello,

Is there any update on this?

Thank you

Chani Karel,



Hello, 

Unfortunately, this option has not yet been realized. We have added your request to the list of requests for this feature.

As we indicated above, we still don't know when it will be implemented. 

 

Bakr,

 

Unfortunately, the functionality has not been developed so far. But we have added your request to the list of requests for this idea to increase its priority.

Show all comments
outlook connector
Outlook
Office365
7.13_()
sales_enterprise

Hi!

I try to connect with my Office365 account. But after I set the email address and entered the password, I receive a message that one of the settings are unvalid. But they are properly set.

 

More I´ve tried to use the Outlook connector from the marketplace, https://marketplace.bpmonline.com/app/smartcloud-connect-bpmonline, but here I receive everytime an error message. For this I have a ticket at the support team open. Has someone else got this problem? 

Like 0

Like

1 comments

Hello Mathias!

Our partner contacted us to request additional information from you. We will contact you within your support case which you opened earlier.

Thank you!

Show all comments

Hi,

I created a new tabs (around 4 tabs) in opportunity section and I committed package to repository. 

But another member in my development team can't able to view some of tabs (2 tabs) in opportunity section

In my package , 4 tabs are exists in opportunity edit page (OpportunityPageV2) before committing package to repository,but after installing package from repository only two tabs are getting displayed in opportunity edit page (OpportunityPageV2)

I have attached screenshots.

Like 0

Like

3 comments

The same code generates the same result. If the result is not the same, then something is different in code. Please open all OpportunityPageV2 modules  that you have in the system (in the configuration section or in google chrome developers console) and compare all code. Find the difference and make the code completely the same. After that, empty cache of the browser and hard reload.

Please note that installing changes from repository does require compiling and saving JS modules after the procedure. 

After installing the package from repository I compiled the package .The code is missing in OpportunityPageV2 . But before committing the package to the repository the code was there in OpportunityPageV2.

Please investigate the code in the source application, in the repository and in the target application. It should be the same. This way the functionality will work in the same way. 

Show all comments

Hi community,

I am looking for 2 possibilities:

1. How can I disable a copy button in the list of opportunities?

2. How can I change the functionality behind the button?

Thanks

Like 0

Like

6 comments

Just override method at OpportunitySectionV2:

copyRecord: function(editPageUId) {
    this.showInformationDialog("Not allowed");
}

 

Hello Martin,



Dmitry is right, you should simply override the desired method in replacing client module.

Please note, that if you want to save base functionality as well as add something new to it don`t forget to call callParent method. It triggers base method logic so you will be confident that base logic will work just as planned.



For example how it will look like with copyRecord method

copyRecord: function(editPageUId) {
    this.callParent(arguments);
    // custom logic
}

Best regards,
Alex

Hi Alex,

Thanks for the answer.

And is there the possibility to hide the button?

 

Best regards

Martin

 

Zurkowski Martin,

Hello,



You can simply bind it`s visible property to some boolean attribute or function.

If you want to hide not a new button but existing one, you should use "merge" operation. 

Also please follow the link to find information about diff array:

https://academy.bpmonline.com/documents/technic-sdk/7-13/diff-array



Here is an example:{

                "operation": "insert",

                "name": "12345Button",

                "values": {

                    "itemType": 5,

                    "caption": "12345",

                    "visible": {bindTo: "Show12345Button"},

                    "layout": {

                        "column": 1,

                        "row": 6,

                        "colSpan": 2,

                        "rowSpan": 1

                    }

                },

                "parentName": "LeftContainer",

                "propertyName": "items",

                "index": 9

            }

Best regards,

Alex

 

Hi Dmitry, hi Alex,

thank you both for the help.

At first I could not find out how the copy-button is called and where I find it in the opportunity-grid. At the end its called "Resources.Strings.CopyRecordGridRowButtonCaption"

It works both.

Thank you!

Hi all,

Let me share a way to actually hide the button (not just overriding its method to show an alert).

You can override onRender() method of your Section client schema, and in this method you can remove the Copy button like this:

onRender() {
    this.callParent(arguments);
 
    const dataGrid = this.getCurrentGrid();
    const rowButtons = dataGrid.activeRowActions;
    let idxToDelete;
    for (let idx = 0; idx &lt; rowButtons.length; ++idx) {
        const btnObj = rowButtons[idx];
        if (btnObj.tag === "copy") {
            idxToDelete = idx;
        }
    }
 
    rowButtons.splice(idxToDelete, 1);
},

Worth to mention that the solution with diff in schema won't work in this particular case: activeRowActions is just an array, not a key-valued object, so the "merge" operation would be meaningless.

Show all comments
Orders
7.13_()
sales_enterprise

In the account dropdown in the Orders section list page, we have a blank value.

Where does this come from and how do we fix it?

http://prntscr.com/mhsa9z (screenshot for extra clarity)

Like 0

Like

1 comments

Dear Jonas,

This field should have "Add assignee" text. try to inspect it using browser development tools and check if there are any errors in the console. If everything looks fine send email to support@bpmonline.com

Show all comments