Hi,

Is anyone aware which browsers or plugins might cause the bpmonline landing page integration not to work?

I know it's not working on my pc where I use Firefox.

P.S. I also have uBlock Origin plugin installed on my browser. It does work on google chrome though.

Like 0

Like

2 comments

Hi,

I tried to use my landing page on Firefox and with uBlock Origin app - it worked fine. Have you tried to turn it off in case you suspect it is the source or use incognito mode in which plugins are disabled? Also, what error did you get? 

Best regards,

Angela

HI Angela,

Thanks for your input.

I've tried incognito, with and without the plugin and the leads won't be created in the instance in both the cases.

We are working to find the cause of the issue but just wanted to check if there are any known issues with Firefox.

P.S. It also happens sometimes when Firefox does not have any addons installed.

Show all comments

Hi! Hi have a problem, when I insert a code on external page dont works code, I had tryed to change jQuery give me by bpmonline, because this dont worked and I had tryed with one external, dont give me exceptions but code dont works, someone know why?



 



   

        $(document).ready(function() {

        // alert("jQuery esta funcionando !!");

        });

   

 

    

 

/** 

* Replace the "css-selector" placeholders in the code below with the element selectors on your landing page. 

* You can use #id or any other CSS selector that will define the input field explicitly. 

* Example: "Email": "#MyEmailField". 

* If you don't have a field from the list below placed on your landing, leave the placeholder or remove the line. 

*/ 

var config = { 

    fields: { 

        "Name": "#name", // Name of a visitor, submitting the page 

        "Email": "#email", // Visitor's email 

        "MobilePhone": "#telefono", // Visitor's phone number  

    }, 

    landingId: "e820083d-8465-4205-9069-e38515795f70", 

    serviceUrl: "https://mc360.bpmonline.com/0/ServiceModel/GeneratedObjectWebFormServic…", 

    redirectUrl: "" 

}; 

/** 

* The function below creates a object from the submitted data. 

* Bind this function call to the "onSubmit" event of the form or any other elements events. 

* Example:  

*/ 

function createObject() {

    landing.createObjectFromLanding(config)

}

/**

* The function below inits landing page using URL parameters.

*/

function initLanding() {

    landing.initLanding(config)

}

jQuery(document).ready(initLanding)

Greetings

Like 0

Like

5 comments

Try to catch the request with Fiddler https://www.telerik.com/fiddler

Check the body of the request and the response. 

This is not the request that the "create-object-debug.js" class sends to bpm'online. Please investigate the code in the class and catch the request that it sends to bpm'online after submitting the form.

show me this on request {"SaveWebFormObjectDataResult":"{resultMessage:\"URL de solicitud no autorizado.\",resultCode:-1}"} 



Json of request is:



{"formData":{"formId":"e820083d-8465-4205-9069-e38515795f70","formFieldsData":[{"name":"Name","value":"tomas"},{"name":"Email","value":"tomas@mail.com"},{"name":"MobilePhone","value":"154545"},{"name":"BpmRef","value":"microinjertocapilar360.com"},{"name":"BpmHref","value":"https://api.tictopsales.com/injerto/"},{"name":"BpmSessionId","value":"d00dc81c-4cd9-4039-9687-669cd02b23ee"}]}}

The [Website domains] was specified incorrectly. 

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-web-case-landing-pages

I can't tell the correct option because you didn't send the full request. There is only the JSON part. Please find the correct URL in the request on our own.

Show all comments



Hi I am trying to do the process in the link below:

 

https://academy.bpmonline.com/documents/technic-bpms/7-14/using-business-processes-automate-repeated-tasks-and-using-loops-process-flow

 

To start with this, can I somehow add a tag to all the records?

Like 0

Like

3 comments

Dear Aaykay,

Currently, there are no basic functionality to tag multiple records with tags at once. However, you may create a simple business process that would tag your records. Here is the example how to tag all cases http://prntscr.com/nsssa4

Best regards,

Dean

I'm trying to add a tag to multiple records as well.  How does your business process work if there's no common condition among the records you're tagging?  Can you tag all records that you've added to an adhoc folder, for instance? 

Dear Lisa,

Here is the option to tag the records in the static folder http://prntscr.com/ovyri4  As the result, the records in the folder http://prntscr.com/ovysha are tagged http://prntscr.com/ovysqu

Best regards,

Dean

 

Show all comments

Hi!

In a process I finish with the deletion of an object opportunity: 

https://cl.ly/2f1c786e2b28

But it does not execute the deletion, may because there are linked objects to opportunity, but I cannot define how to perform with them.

Any Idea how I can resolve this?

Thanks a lot for your help!

Like 0

Like

2 comments

Dear Sarauzo,

Indeed, it might happen if your lead record has multiple connections with the other entities in the system. You would need to delete them prior deleting this record. You would need to modify your process to delete the connected records as well. The easiest way to know what are those records is to try to delete the record manually from the section. The system will show you the list of associated records. 

Best regards,

Dean

Thanks a lot Dean!

Show all comments

Can I associate a target product to a campaign? If yes how can i do that?

Like 0

Like

4 comments

Dear Krishna,

As for now, it is not possible to associate a product with a campaign, however in the nearest version of the application, most likely in 7.14.1, the campaign designer will have 2 new elements - 'read' and 'add' data elements, the same as in the business processes. With their help, you will be able to create products upon some certain conditions, for example if a user clicks on some link, the product would be automatically created, etc.

Best regards,

Dean

Dean Parrett,

Thanks for the information !! Also one more query, Is there any way in which one campaign can be connected to another and any way one campaign can be included in marketing plan?

Dear Krishna,

Unfortunately, it would not be possible to associate the campaigns one to another since according to the application logic each campaign is unique. As for marketing plans, basically this section does not include the campaigns, however you can add a new lookup on a marketing plan or activity page, which is based on a Campaign object. It would indicate which campaign was started during the marketing plan.

Best regards,

Dean

Dean Parrett,

Thanks for the clarifications.

Show all comments

Hi,

I want to run a process for all the records of a section where the business process reads two values of the respective record, modifies a field in that particular record and then does the same for every record in the section.

But I am not sure how to run the process for every single record. I am using Read data element and Reading the first record in the selection which gives the results for the last record that was created in the system but it does not run for every record in the section.

Could someone help?

Like 1

Like

5 comments

I think u can use 'flag' . U can create a new field in the table (not displayed on UI) , mark it 'N' as default for all the records and run the process in loop and update every time it is  N and set the particular record 'Y'  after processing . U can also set how many times the loop should run, default value is 100 u can update it a value according to the data size you are trying to work upon!!  I hope that helps . 

Shailey,

 I already have a lookup and I want to run the process based on the value of that lookup. Will that work or is it essential to have that flag? Can that lookup not act as the flag?

aaykay,

You can use record tag also. First put tag for all records which have specific value for the lookup as "to be processed", then on by one read all records with this tag, after processing, change the tag to some other tag say "processed"

Hi,

I am following as you suggested but the process only runs for the first record.

Shailey writes:

I think u can use 'flag' . U can create a new field in the table (not displayed on UI) , mark it 'N' as default for all the records and run the process in loop and update every time it is N and set the particular record 'Y' after processing

Show all comments

Hi,

I am trying to build a process that will subtract 2 dates and record the difference in an integer field for all the records in the CRM. But for some reason, I can not get the result as required.

 

 

Like 0

Like

14 comments

Hello, 

Formula value uses standard C# syntax. In your case subtraction of 2 datetime fields gives you a TimeSpan, you can get the number of days in the TimeSpan by using Days property (TotalHours if you want to calculate difference in hours). 

So to get the difference between 2 date fields you can do the following formula: 

([#Date 1#] - [#Date 2#]).Days

You can assign this value to a business process parameter and them with modify data update the needed field with this parameter. 

Best regards,

Dennis

Dennis Hudson,

 Thanks for the reply. I am trying to build a business process to run every morning and that process should read the two dates and update field with the difference in those dates in days.

Can you guide with how to build such a process?

Currently it's as below and is really working. Just can't figure out how to read all the records and then update the field based on the current values of the record.

 

aaykay,

There are 2 options how you can do that: 

1) You can add a boolean column to your object (Something like Processed) and loop through all records, which have processed = false. After that you can read the first record in the selection with the mentioned filter, process date columns and after that set the Processed to true. You would need to loop until there is a record that has processed = false (count > 0). 

After all the mentioned operations you would need to set Processed of all records to false (one Modify data element). 

2) You can read all records as a collection, pass it to script task and operate with them in a script task. Here is some documentation on using collection: 

 https://community.bpmonline.com/questions/use-collection-parameter-script-task

https://community.bpmonline.com/questions/use-script-task-update-column-read-data-result-collection

Best regards, 

Dennis 

Dennis Hudson writes:

You can add a boolean column to your object (Something like Processed) and loop through all records, which have processed = false.

 

How do I loop through the records in the business process?

aaykay,

It should look similar to the screenshot below:

http://prntscr.com/nr79cf

Best regards,

Dennis

Dennis Hudson,

 When I run the process and put a constant number such as 07 or 50 or any other value, the business process updates the value in the specified field. But when I try to compute the value using the dates, it doesn't work. I am using the same formula as you mentioned earlier in the first comment (date2 - date1).Days.

Can you tell what might be going wrong?

aaykay,

Could you please specify what do you mean by 'doesn't work'? It gives you an error or the value is incorrect? In first case please give me an error message, in the second case - what dates do you input and value do you get when using the formula? Also, could you please send a screenshot of your formula and a part of process flow in which you use it? 

Dennis Hudson,

 Here are the screenshots:

1. Complete Process

2. Date formula for filled

 

3. Date formula if closed:

 

4. Final modification:

 

I am neither getting an error nor any other response. The integer field that I am trying to update shows value = 0, which I guess is the default value of field of type integer. 

Dennis Hudson,

 I omitted conditional flow and now I am getting the following output when I run the process for only status = Closed

The variable "DateDifference" now has value = -737,065

aaykay,

It happens because one of the date values is empty, if you fill in both date/time fields you should get a correct result. 

aaykay writes:

The variable "DateDifference" now has value = -737,065

Dennis Hudson,

Both the fields are filled. Please find the screenshot below.

aaykay,

Probably you are calculating those fields using the dates of one particular record that has one of the dates not filled in, and not for each record separately. Please write to the support@bpmonline.com for more detailed analysis. I've double checked the formula itself and it works fine, probably the issue is in the process flow.

Best regards,

Dennis  

Dennis Hudson,

 You can find the business process in the screenshots above. Even I think something is not upto the mark with process but only if I knew.

aaykay,

It's hard to determine what's wrong here from screenshots. I think it will be better to contact support. 

Show all comments

Can webitel connect with a Asterisk telephony system?

Like 0

Like

1 comments

Dear Krishna,

Theoretically it might be possible to connect Asterisk through Webitel Any VoIP connector, but these are two different products and they both would require licenses. However we already have Asterisk connector on our marketplace https://marketplace.bpmonline.com/app/asterisk-connector Here is the description on how to integrate it in bpmonline https://academy.bpmonline.com/documents/administration/7-13/how-integrate-asterisk?document=studio&_ga=2.148036215.1739969063.1558329037-1328192714.1557339619

You can use it separately and it would not require additional settings to connect through Webitel and extra expenses.

Best regards,

Dean

Show all comments

How do I parse a String using a formula or condition?  For example, if I want to do a comparison of the last three characters of a String, could I use [#Example String#].Right(3)=="-00"?  Is there a length function? Please provide the available functions.

Like 0

Like

1 comments

Dear Janine, 

You can perform all standard C# methods in formula (including all string operations). In your case you can use the following:

[#Example String#].Substring([#Example String#].Length - 3) == "-00"

or

[#Read data 1.First item of resulting collection.Full name#].EndsWith("-00")

Best regards,

Dennis

Show all comments

There seems to be a new interface available for Object Permissions.  However, some of our team sees the new interface when we click on the link in System Designer, while others are taken to the Advanced settings page.  Is there a setting that configures which interface individuals see or is this part of beta testing?

Like 0

Like

10 comments

Hi,

Link "Object permission" will take you to the new interface, while "Advanced settings" in admin area are still leading to old interface. May be those users used different links? 

Best regards,

Angela

Angela Reyes,

Using the Object permissions link takes me to the page in Advanced settings, not the new UI. This is true for all but one member of my team. The new functionality is not working reliably.

Janine White,

It is likely that internal feature that turns on this functionality is turned on only for that user. Tu turn that on for all users you can run the following SQL script: 

DECLARE @featureCode varchar(max) = 'NewRightsManagementUI',

 @featureId uniqueidentifier;

set @featureId = (select top 1 Id from Feature where Code = @featureCode);

IF @featureId is null

BEGIN

 insert into Feature

  (Name, Code)

 values

  (@featureCode, @featureCode);

 set @featureId = (select top 1 Id from Feature where Code = @featureCode);

END;

delete from AdminUnitFeatureState where FeatureId = @featureId;

insert into AdminUnitFeatureState

 (SysAdminUnitId, FeatureState, FeatureId)

values

 ('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);

Best regards,

Dennis

Dennis Hudson,

How did that get turned on for only one user in our instance?  I thought this was a core feature of bpm'online studio. This is not something that we have set.  If it is being implemented universally for System Administrators, shouldn't there be a setting for it and/or be implemented for all or none based on the System Administrator role automatically?  Will we have to do this every time there is a new System Administrator? This seems like a bug, not a feature, to me.

Janine White,

Unfortunately it is hard to tell how it could get turned on only for only one user as the changes in AdminUnitFeatureState are not logged by default. It may have happened because of some glitch in updating process, also this may have been set with a query in SQL executor. Nevertheless, the script I've sent earlier turns this feature on for All employees organisational role.

Best regards,

Dennis

Dennis Hudson,

Again, this was not set by anyone on my team.  If there was a glitch in the upgrade, what else was missed?  Should we roll back our instance 7.13 and have the 7.14 upgrade reapplied?

Janine White,

Dear Janine,

We've resolved this issue in terms of support incident. As described the issue was in incorrect feature activation. We've reactivated it for your application and it resolved the issue and all users are now able to see new access rights designer. These are SQL-queries that were used while resolving the issue:

delete from AdminUnitFeatureState where id = '0A27067D-5177-401D-9D17-9586B27F9EA8'



insert into AdminUnitFeatureState(FeatureId, SysAdminUnitId, FeatureState) values ((select id from Feature

where Code = 'NewRightsManagementUI'), 'A29A3BA5-4B0D-DE11-9A51-005056C00008', 1)

Best regards,

Oscar

I appreciate the fix.  The interface is working for everyone now. However, as a Quality Engineer, I'm concerned about root cause. As I mentioned above, if the discrepancy was the result of a bad install, then there could be other issues that need to be resolved as well that we haven't realized. For example, the 7.14 upgrade also broke the main menu system.  It is no longer ordered as specified in Workplace setup, rather it only appears alphabetically, which has been reported to support.

Janine White, 

Without gathering logs and investigating the issue on the site it is hard to determine what exactly caused the issue, Please send email to support@bpmonline.com so the issue would be analyzed on your site based on your request as a support case. 

Best regards,

Dennis 

Dennis Hudson,

That's already been done and the fix applied in request #SR-0806825. The root cause provided was, "The reason of the issue was in deactivated feature called 'NewRightsManagementUI," but I'm not sure what that means other than it was a coding issue that was overlooked before publishing to production.

Show all comments