Call a Script from a Activity Diagram

General discussions about code engineering

Moderator: Moderators

Call a Script from a Activity Diagram

Postby werheid97@gmail.com » Sun Sep 12, 2021 6:31 am

I want to call a Jyphon macro within a Activity Diagram. I know that I can write the code within an activity block, but I want to have the file saved external to change
the written code from somewhere else. I tried to import os in a Jyphon activity block and just try to run the external script (os.system(<path>\filename), but this
does not work.

Thanks for your help,

Jonas
werheid97@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 5
Posts Rating:0
Joined: Wed Feb 10, 2021 3:46 am

Re: Call a Script from a Activity Diagram

Postby saulius_p » Mon Sep 13, 2021 5:26 pm

Hello Jonas,

Good to talk to you. Maybe like this?
https://youtu.be/-9dbiLoyrUY

Sample is in video description.

Sincerely,
Saulius
Best regards,
Saulius Pavalkis
User avatar
saulius_p
No Magic
No Magic
 
Posts: 345
Posts Rating:17
Joined: Fri Dec 04, 2009 5:37 am
Full name: Saulius Pavalkis


Return to Code engineering

Who is online

Users browsing this forum: No registered users and 2 guests