{"id":167833,"date":"2023-04-13T07:33:14","date_gmt":"2023-04-13T07:33:14","guid":{"rendered":"\/knowledge\/forums\/topic\/is-it-possible-to-make-a-logic-statement-using-if-statement-in-workbench-to-define-some-parameters-i-am-able-to-make-an-expression-in-the-parameter-manager-but-i-would-like-to-inpu\/"},"modified":"2023-07-31T12:28:42","modified_gmt":"2023-07-31T12:28:42","slug":"is-it-possible-to-make-a-logic-statement-using-if-statement-in-workbench-to-define-some-parameters-i-am-able-to-make-an-expression-in-the-parameter-manager-but-i-would-like-to-inpu","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/is-it-possible-to-make-a-logic-statement-using-if-statement-in-workbench-to-define-some-parameters-i-am-able-to-make-an-expression-in-the-parameter-manager-but-i-would-like-to-inpu\/","title":{"rendered":"Is it possible to make a logic statement using \u201cIF\u201d statement in Workbench to define some parameters?  I am able to make an expression in the Parameter Manager but I would like to input the expression:  If P1+P2 > P3      Then P4=10      else P4=20"},"content":{"rendered":"<p>Please refer to the attached resolution document.<\/p>\n<p>Attachments:<br \/>\n1. <a href=https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-2A\/2057248\/2057248.pdf>2057248.pdf<\/a><\/p>\n","protected":false},"template":"","class_list":["post-167833","topic","type-topic","status-publish","hentry","topic-tag-19-2","topic-tag-fluid-dynamics","topic-tag-other","topic-tag-project-schematic","topic-tag-workbench","topic-tag-workbench-platform"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["04-13-2023  20:20:01"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["3184"],"siebel_km_number":["2057248"],"product_version":["19.2"],"km_published_date":["2018-11-27T00:00:00.000Z"],"family":["Fluid Dynamics"],"application_name":["Workbench Platform"]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/167833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/167833\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=167833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}