Call a Script from a Activity Diagram

General discussions about code engineering

Moderator: Moderators

Call a Script from a Activity Diagram

Postby » 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,

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?

Sample is in video description.

Best regards,
Saulius Pavalkis
User avatar
No Magic
No Magic
Posts: 354
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 0 guests