Ask questions about installing and configuring ProcessMaker 3

Moderator: amosbatto

#826351
Dear All-Good Day,

I recently trying the ProcessMaker Case Lister in one of the webinar and installed and run on the life work space and database, Big mistake!
Now when opening the Processmaker I cant see the project flow chart neither the cases also different users can see it.
Attached is the app details code and

kindly assist

regards
Patrick
Attachments
No records found.PNG
No records found.PNG (42.74 KiB) Viewed 704 times
(1.62 KiB) Downloaded 6 times
#826357
From the code you attached, it looks like you are using Angular, which normally isn't done inside of ProcessMaker.
I'm not familiar with this version of the Case Lister. Can you provide a link to the instructions that you followed?
Also, what version of PM?, manual or Bitnami install? and what operating system?

By the way, did you change these credentials to match where you installed ProcessMaker, the client_id and client_secret of your REST application and the username and password of your user?
Code: Select all
this.server_url = 'http://192.168.1.110:3003/';
    this.workspace = 'workflow';
    this.credentials = {
         grant_type   : 'password',
         scope        : '*',
         client_id    : 'JMWHNAMPQRNZEHFOGGALTXWMRSLOAGMJ',
         client_secret: '76250957254c867a6ccab53053097720',
         username     : '',
         password     : ''
    };
#826361
Processmaker used is 3.2.3 community
CentOs as attached.


Yes I change the I'd and the secrect. It worked but suddenly all cases are no accesseble or visible in processmaker neither is the project flow charts.... Is all blank. But when running query direct in MySQL I see all the data is there.
PS. I remove the application to see if it will change but no change.
Assist
Attachments
Screenshot_20190904-235421_1567634680249.jpg
Screenshot_20190904-235421_1567634680249.jpg (96.51 KiB) Viewed 688 times
#826376
Where did you place your code?
From the screen shot, it looks like you are trying to use AngularJS inside of ProcessMaker, but I don't think that will work, because AngularJS interferes with ExtJS in the ProcessMaker interface and jQuery in Dynaforms.

That example is for creating a separate web page outside of ProcessMaker. Do you have a separate web server where you can run that code?

If not, then the easiest solution is to edit your pmos.conf file and add a virtualhost which uses another port number. (Note: edit /apps/processmaker/conf/httpd-vhosts.conf if using a Bitnami installation)

For example:
Code: Select all
Listen 8080
<VirtualHost localhost:8080>
    ServerName "localhost"

    DocumentRoot /var/www/myapp
    DirectoryIndex index.html index.php

    <Directory /var/www/myapp>
        Options Indexes FollowSymLinks MultiViews
        AddDefaultCharset UTF-8
        AllowOverride None
        Require all granted
        ExpiresActive On
    </Directory>
</VirtualHost>
Then put your code in the directory /var/www/myapp and you can access it from a web browser at the address:
http://localhost:8080









If you want to use it inside ProcessMaker, you need to run it inside an <iframe>, so AngularJS doesn't interfere with the rest of ProcessMaker.

If you don't have a separate web server where you can test your code and don't want to create a subdomain in Apache on your existing machine just to test using REST in a separate web page, then you can place your code inside the workflow/public_html/ directory. You have to put it directly in that directory (not in a subdirectory).

Then, if you access process

The problem is that you can't use Angular in

Capture.PNG I have use this javascript code to ad[…]

Having a business, especially when it involves tra[…]

The condition is not workable

Hi there, Recently I've encountered the amount wh[…]

Yes i'm using vue js to load the data.