Can I use a system property in Flowdesigner?

JLeong
Mega Sage

Hi!

Can I use a system property in Flowdesigner?

Or is there another easy way to calculate a date to add 5 years?

I tried to use "Add Time", but it's not accurate bec of the leap year.

find_real_file.png

Thank yoU!

1 ACCEPTED SOLUTION

Willem
Giga Sage
Giga Sage

Have you looked at this community post:

https://community.servicenow.com/community?id=community_question&sys_id=ef6c249edb3e58d0fb4ae15b8a96...

 

It talks about making a custom action:

 

What i can see if I would go to use system property in the if logic it does not give me option to code.

Thus you can create custom action & return true/false from it.

& Pass the true/false value in the if logic step.

Create a property:I have created one say check which contains table names:

sc_req_item,incident

Create an action which will take input as string so that we can pass the table name to evaluate with system property.

find_real_file.png

 

find_real_file.png

 

find_real_file.png

 

find_real_file.png

Publish the custom action & call it in your flow.

 

View solution in original post

3 REPLIES 3

Willem
Giga Sage
Giga Sage

Have you looked at this community post:

https://community.servicenow.com/community?id=community_question&sys_id=ef6c249edb3e58d0fb4ae15b8a96...

 

It talks about making a custom action:

 

What i can see if I would go to use system property in the if logic it does not give me option to code.

Thus you can create custom action & return true/false from it.

& Pass the true/false value in the if logic step.

Create a property:I have created one say check which contains table names:

sc_req_item,incident

Create an action which will take input as string so that we can pass the table name to evaluate with system property.

find_real_file.png

 

find_real_file.png

 

find_real_file.png

 

find_real_file.png

Publish the custom action & call it in your flow.

 

Thank Willem!

Have a great week!

Willem
Giga Sage
Giga Sage

In addition, a lot of actions already allow you to use script. There you can use:

gs.getProperty('property_name')

 

For example as described here:

I have a requirement to call a property in flow designer to assign ticket to one group. Can some one help how to call property in flow designer.

image