The CreatorCon Call for Content is officially open! Get started here.

Create a flow/subflow/action in Flow Designer using Scripts/API

AkshayM07480859
Tera Contributor

Hi Community Users,

I'm looking for a solution to create Flows in Flow Designer externally using scripts/API's but without opening Flow Designer to design my flow.

Eg :
I want to create a flow "xyz" which does some orchestration of a Incident flow -  without actually logging inside Flow designer.
I want to create this flow by running scripts and calling some ootb flow designer API's.

Is it possible to do so, if yes, please suggest how.

3 REPLIES 3

Mark Manders
Mega Patron

Just because you can, doesn't mean you should.

The big question here is: why?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

@Mark Manders , to answer the why part, it's simple.
If I have to migrate my exisitng Workflows which are running in a different orchestration application( other than service now ) into Service now Flow designer, I'm looking for an automated way to do this, instead of going and creating 1000 of workflow's manually in Flow designer

Sandeep Rajput
Tera Patron
Tera Patron

@AkshayM07480859 Technically it sounds possible as all the entries are stored somewhere in the tables in the database. However, figuring out all the right tables and making entry in them would be a topic of some research. I recommend you to find all such tables and try creating a POC on some PDI instance.