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

Hi,

On my local machine I have landing page for cases.

All mandatory fields are set as default fields.

But once I try to submit than nothing is happening and showing below error on browser console.

Error: Failed to load resource: the server responded with a status of 400 (Bad Request)

 

Note: This issue is not with Order and leads landing pages

 

Any help will be highly appreciable

 

Regards

Like 0

Like

5 comments

Dear Muhammad,

This error usually means that the request you sent to the website server was incorrect and the server couldn't understand it. The 400 Bad Request errors are often caused by pasting the wrong URL. Double check if the landing page field 'website domain' in bpmonline has the correct URL. Apart from that, make sure that the fields in your form are mapped correctly. Here are some more details:

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-web-c…

If you still face the same issue, we would like to suggest you to contact our support team via email support@bpmonline.com to have a closer look to the issue in your particular environment. 

Best regards,

Dean

Hi Dean,

Thank you for the help. I found that Name, Email and phone are mandatory to use in landing form. Now the issue is gone.

Another issue, on landing form I have Account and Contact fields. I'm entering name of Account and Contact both already exist in CRM. After landing page is submitted the Account is linking with Case without creating a new Account . A new Contact is created that is linked with Case but not linked with Account. Ideally new Contact should created and should be link with Account.

 

Regards

Hi Dean, 

Please ignore above.

Currently I accessing landing page from my local ip that is configured in CRM landing page (Website domain).

For example (http://192.168.0.11/cases_form.html) if I browse its working fine and submission done sucessfuly.

Is it possible by accessing landing page html file cases_form.html for successful submission? If possible than what we should be entered in Website domain of landing page detail?

 

Regards

Dear Muhammad,

There is no other way to access the landing page. You indicated the correct path,but if you open landing page html file cases_form.html in the browser locally,the data will not be submitted into bpm online. You will get the empty message when submitting the form. It would look like this http://prntscr.com/n3h88c

Best regards,

Dean

Dean Parrett,

Noted. Thanks

 

Regards

Show all comments

Hi,

I have gone through this doc

For a contact, once I try to click on FB button from 'Communication options' than nothing is happening and below errors are showing on browser console

I'm doing this testing on local dev system. If 'http' is causing problem than how to avoid this issue?

 

Any help will be highly appreciable.

 

Regards

Like 0

Like

1 comments

Dear Muhammad, 

The error says that the site needs to be switched to https, you can find the instruction how to set it up here: https://academy.bpmonline.com/documents/administration/7-13/switching-h…

However, the integration with Facebook may be working incorrectly now because Facebook closed the possibility to integrate with closing their API.

Best regards, 

Dennis 

 

Show all comments

Hi,

Is there a way to package an anonymus webservice created using the guide from the academy?

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-anony…

I need to have a public endpoint to integrate with a texting app that notifies of messages realtime, but the endpoint cant have authentication. Is there any other way to expose a public endpoint?

 

Regards,

Luciano

Like 0

Like

5 comments

Hello Luciano,



Basically, to implement the anonymous webservice you should simply follow the instructions from the article that you sent. Anonymous webservice concept means that authentication is not a required step to interact with this service.

Also, if you use onsite version of bpm'online, don`t forget to register the service (there is an explanation how to do it in the article).

In case your site is located in cloud you should email support@bpmonline.com so the support team will help you with registration.



Best regards,

Alex

Alex_Tim,

Thank you for the answer, so the the package only contains the webservice class, the svc creation and .config changes are done by support, right?

Edit:

Additionally if also want to package this to make it available on the store, how would it work? do every customer that's bpm hosted needs to email support to get the webservice registered?

Regards,

Luciano

Luciano De Munno,

Hello, yes, you can create the webservice class in any package that you want.

Svc creation and changes in config should be done by support team. 



You can upload the package to the marketplace, but since changes should also be made in .config and svc files every customer will need to email support to register the webservice.



Best regards,

Alex

Alex_Tim,

Hi, do you know fi it's possible to use POST o r PUT instead of GET? whenever i put 

WebInvoke(Method = "POST") i keep getting 403

Luciano De Munno,

Hello! Error 403 means that there is no header with a CSRF token. To make a request using ARC, you need to add a header with a valid csrf token for the current session. You can get it, for example, by taking any post request from the network chrome tab. It is also better to put a header with cookies.

Read more about CSRF in the article:https://academy.bpmonline.com/documents/technic-sdk/7-13/protection-csrf-attacks-during-integration-bpmonline

Show all comments

I'm running into some trouble when trying to populate a lookup column from a script task.  I invariably get the error "System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'UsrVMProductCode'."

This is the column in question:

And here is the relevant part of the script task:

var esq = new EntitySchemaQuery(UserConnection.EntitySchemaManager, "UsrWaterplayVMProductCode");
 
var ColId = esq.AddColumn("Id");
var ColName = esq.AddColumn("Name");
 
var entities = esq.GetEntityCollection(UserConnection);
var productCodes = new Dictionary<string,string>();
foreach (var entity in entities) {
	productCodes[entity.GetColumnValue(ColName.Name).ToString()] = entity.GetColumnValue(ColId.Name).ToString();
}
 
foreach (var pd in resultObj.UpdatedParts) {
	if (pd.PartId != "") {
		var code = "";
		if (pd.VMProductCode != "") {
			code = productCodes[pd.VMProductCode];
		}
		var update = new Update(UserConnection, "Product")
			.Set("Name", Column.Parameter(pd.Description))
			.Set("Price", Column.Parameter(pd.Price))
			.Set("UsrProductionCost", Column.Parameter(pd.Cost))
			.Set("IsArchive", Column.Parameter(pd.Inactive));
		if (code != "") {
			update.Set("UsrVMProductCode", Column.Parameter(code));
		}
		update.Where("Code").IsEqual(Column.Parameter(pd.PartId));
		if (update.Execute() > 0) {
			resultUpdate += "Product " + pd.PartId + " updated.\\r\\n";
		}
	}
}

I have confirmed through debug logging that the code variable contains a GUID.  The script also worked fine before I tried to set UsrVMProductCode, while attempting to set another lookup column in this way (Currency) gave a similar error.  Is there something special I need to do to set a lookup value with the Insert/Update objects?

Like 0

Like

2 comments

The use of Update just creates SQL statements that execute on the database directly (instead of using the object model,, like ESQ does). For a lookup column, the actual column name would have "Id" at the end of it. For example, use "UsrVMProductCodeId" instead of just "UsrVMProductCode".

Ryan

Ryan Farley,

Thanks much, that did the trick.

Show all comments

Hi,

I have bpmonline 7.13 on local dev system and need to configure Bulk email settings. By default below screen showing (screenshot)

Once I click on button "Check settings" than nothing is happening. I read the documentation but still confusing about this.

For a local dev system, from where we can get below required information like (API key, Bpmonline cloud services connection URL, Domain to receive responses, Auth key) to solve this issue.

Any help will be highly appreciable.

 

Regards

Like 0

Like

1 comments

Dear Muhammad,

You can obtain your API key and Auth Key from bpm'online support (support@bpmonline.com).

Best regards,

Angela

Show all comments

CAn portal user login to mobile application?

Like 0

Like

7 comments

Hello, 

Portal users can login to the mobile app. They would have access to the records and section for which they would have corresponding rights. Also you can create a separate workspace for portal users in mobile application wizard or distribute rights to sections and records for portal users.

The academy page on mobile application wizard below: 

https://academy.bpmonline.com/documents/mobile/7-13/mobile-application-…

Best regards,

Dennis

thanks for the reply . Iam getting an error message while logging as a portal user . Tried two instance (studio and CRM )the error message is same .

 

From: Sethuraghav N ; Sent on: 3/11/2019 11:40:49 AMTo: Bpmonline support ; Cc: Subject: Bpm'online mobile bug report (https://044762-crm-bundle.bpmonline.com/)Model Name: iPhone10,1 Platform: iOS Platform Version: 12.1.4 Resolution: 0x0 IsHybridMode: false UIVersion: UIV2 ApplicationVersion: 7.13.10 ApplicationMajorVersion: 7.13 BackgroundSyncMode: Always ServerUrl: https://044762-crm-bundle.bpmonline.com/ ContactId: 4a778dcf-15af-4bfd-b18c-8ed92354655c CultureName: en-US ApplicationRevision: null WorkplaceCode: DefaultWorkplace ProductInfo: {"ProductName":"bpm'online","ProductEdition":"service enterprise","CustomerId":"321","Version":{"Major":7,"Minor":13,"Build":4,"Revision":638,"MajorRevision":0,"MinorRevision":638}} CurrentDateTime: 2019-03-11T09:39:51.576Z Type: Terrasoft.SyncException Message: An error occurred while synchronizing Stack trace: @sencha-touch-all-debug.js:10397:31 failure@terrasoft-all-combined.js:25030:23 @sencha-touch-all-debug.js:10397:31 failure@terrasoft-all-combined.js:3739:21 @sencha-touch-all-debug.js:10397:31 requestItemFailure@terrasoft-all-combined.js:31616:25 Terrasoft.RequestManager#onRequestFailure@terrasoft-all-combined.js:31428:34 @sencha-touch-all-debug.js:10397:31 terrasoft-all-combined.js:31620:21 @sencha-touch-all-debug.js:10397:31 Terrasoft.core.CancellableOperationManager#finish@terrasoft-all-combined.js:32010:19 Terrasoft.core.mixins.Cancellable#finishCancellableOperation@terrasoft-all-combined.js:1419:49 terrasoft-all-combined.js:31606:38 [nativecode] @sencha-touch-all-debug.js:10397:31 Fn@terrasoft-all-combined.js:31660:27 failure@terrasoft-all-combined.js:31676:23 @sencha-touch-all-debug.js:10397:31 failure@terrasoft-all-combined.js:52784:27 @sencha-touch-all-debug.js:10397:31 terrasoft-all-combined.js:35722:19 FromNative@cordova.js:295:57 nc2@cordova.js:1022:39 Type: Terrasoft.ServerException Message: Server request returned error AdditionalInfo: { "responseText": "Access to non-SSP API is denied for portal users{\"responseStatus\":{\"ErrorCode\":\"SecurityException\",\"Message\":\"Current user does not have sufficient permissions to read values of system setting with code \\\"UseMobileUIV2\\\".\",\"Errors\":[]},\"rowsAffected\":-1,\"nextPrcElReady\":false,\"success\":false}", "statusCode": 403, "statusText": "Forbidden" } Stack trace: Terrasoft.util.Service#getExceptionFromResponse@terrasoft-all-combined.js:5726:45 Terrasoft.nativeApi.ExceptionParser.getException@terrasoft-all-combined…:52836:65 Terrasoft.util.DataServiceUtils#getExceptionFromError@terrasoft-all-combined.js:5771:63 terrasoft-all-combined.js:35711:71 FromNative@cordova.js:295:57 nc2@cordova.js:1022:39 Sent from my iPhone

sethuraghav,

The error says user doesn't have access rights to system settings with code 

UseMobileUIV2. Distribute the rights to the needed users for this setting and it should work. 

Best regards, 

Dennis

Dennis Hudson,

The same error comes after the access is given 

regards,

sethuraghav N

sethuraghav,

Please try to recompile and  resync your application and if it wouldn't work please write to support@bpmonline.com 

Best regards,

Dennis

Hi, I have the same problem, how to fixed it?

Nataliia,

 

Please check if the proper access is given to the portal user so that they're able to read the value of the system setting "UseMobileUIV2". 

Also, please make sure, that the user has the required license and re-sync your application. 

If the issue persists please send the mobile bug report to support@creatio.com



Best regards,

Yurii

Show all comments

Hi,

Translation Section loading not completing and continuously showing loading message "Loading Actualisation" since 4 hours. Is there any missing configuration which causing this slowness?

application in on-site*

Any help will be highly appreciable.

 

Regards

Like 0

Like

1 comments

Dear Muhammad, 

Translation actualization indeed can take much time since the system actualizes all translations even if no modifications were made and especially if you have multilingual application. However, since the process takes 4 hours without ending, most likely there is some issue in your application. To understand the reason for it, please try to wait till the process is finished, even if it takes more time. We need to know that the process can be either finished within some time or it cannot be finished at all. With the results, I'd like to ask you to contact our support team for deeper investigation of the problem. Could you please email our support team at support@bpmonline.com and also provide the screenshot of loading page with opened browser console? Thank you beforehand.

Best regards,

Dean

Show all comments

Hi,

I am given with the requirement to hide Orders section in account Mobile app, if the Account is inactive.

I have added a field in Account Called usrAccountInactive . The order section should be visible only if this field is false. 

I tried with the below module. But dependentColumnNames : here i will have to give only columnname. But not object name. Please help to reslove this.

Terrasoft.sdk.Model.addBusinessRule("Account",{

    ruleType: Terrasoft.RuleTypes.Visibility, 

    events:[Terrasoft.BusinessRuleEvents.Load],

    conditionalColumns: [ 

        {name: "UsrAccountInactive" , value: false } 

    ], 

    triggeredByColumns: [ "UsrAccountInactive" ] , 

    dependentColumnNames: [ "Order" ]  

});

 

 

Thanks in Advance

Like 0

Like

5 comments

Please specify what is "account Mobile app". Additionally, it would be helpful if you create a video that describes the request. 

Eugene Podkovka,

 

sorry for the confusion. i.e Account screen in BPM Mobile app. 

Please find the below link that explains my requirement. Please help to do this.

https://drive.google.com/file/d/1MNzspAx3_5dOn5SlIfE7hAxFDZOl_Wfj/view

 

Thanks in advance

Please find an example for the functionality below.

//create a new module UsrMobileAccountPreviewPage with the code
/* globals Account: false */
Terrasoft.LastLoadedPageData = {
    controllerName: "UsrAccountPreviewPage.Controller",
    viewXType: "usractivitypreviewpageview"
};
Ext.define("UsrAccountPreviewPage.View", {
    extend: "AccountPreviewPage.View",
    xtype: "usractivitypreviewpageview",
    config: {
        id: "AccountPreviewPage"
    },
    /**
     * @inheritdoc
     * @protected
     * @overridden
     */
    shouldHidePanelItem: function(loadedRecord, component) {
        var detailName = component.config.name;
        if (detailName === "ActivityDetailV2StandartDetail") {
            var categoryId = loadedRecord.get("AccountCategory.Id");
            return categoryId !== Terrasoft.Configuration.AccountCategory.DoctorVisit;
        } else {
            return this.callParent(arguments);
        }
    }
});
Ext.define("UsrAccountPreviewPage.Controller", {
    extend: "AccountPreviewPage.Controller",
    statics: {
        Model: Account
    },
    config: {
        refs: {
            view: "#AccountPreviewPage"
        }
    }
});
 
//register the module in the manifest
"Models": {
    "Account": {
        ...
        "Preview": "UsrMobileAccountPreviewPage",
        ...

 

Eugene Podkovka,

Hi , the steps is not clear. Please tell what does the above code do. I implemented the same.. I dint find any difference in Account's activity section.

Please help..

 

Show all comments

  var dataRequest = HttpWebRequest.Create(serverUri + "/UsrGetUnityUserTickets/GetUnityUserTickets" + "?Data=" + jsonData) as HttpWebRequest;

                    dataRequest.Method = "GET";                    dataRequest.Accept = "application/atom+xml";                    dataRequest.ContentLength = 0;                    dataRequest.ContentType = "application/atom+xml;type=entry";                    dataRequest.KeepAlive = false;                    dataRequest.CookieContainer = bpmCookieContainer;               

                    dataRequest.Proxy = System.Net.WebRequest.DefaultWebProxy;

                    var res1 = await dataRequest.GetResponseAsync();  

                    using (var dataResponse = (HttpWebResponse)res1)

                    {

 

getting very slow from res1 .

Like 0

Like

6 comments

Dear Satyanarayana Pati,

The slowness is most likely caused by usage of proxy. Please try to exclude the following line and check speed:

dataRequest.Proxy = System.Net.WebRequest.DefaultWebProxy;

Regards,

Anastasia 

Hi Anastasia Botezat,

getting Same issue.

Anastasia Botezat,

C:\Users\10435\Desktop\S1.jpg

Dear Satyanarayana,

Based on your screenshot you have not removed the proxy usage. Please remove it and try again.

Nevertheless, the speed is also directly depending on the number of records retrieved. In case you have lots of records, the response will take some time.

Regards,

Anastasia

Hi Anastasia Botezat,

if i add/remove  dataRequest.Proxy = System.Net.WebRequest.DefaultWebProxy;    there was no change in Responce time. 

still getting late responce in   dev environment this service out of five services .  but perfectly work in Production in all  services .

Can you please suggest .

Satyanarayana Pati,

Please catch the request with fiddler and compare it with the ones that work promptly. If there are no difference between them, then please debug the service. Probably it selects big amount of data or does a lot of calculations. 

Show all comments