{"id":21272,"date":"2022-04-11T13:56:08","date_gmt":"2022-04-11T11:56:08","guid":{"rendered":"https:\/\/help.openbee.com\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/"},"modified":"2026-05-13T09:39:23","modified_gmt":"2026-05-13T07:39:23","slug":"tricks","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/","title":{"rendered":"Tricks"},"content":{"rendered":"<div id=\"main-content\" class=\"wiki-content group\">\n<div class=\"plugin_pagetree_children\">\n<div class=\"plugin_pagetree\">\n<div id=\"children273192077-1\" class=\"plugin_pagetree_children\">\n<ul id=\"child_ul273192077-1\" class=\"plugin_pagetree_children_list\">\n<li>\n<div class=\"plugin_pagetree_children_content\"><span id=\"childrenspan273191964-1\" class=\"plugin_pagetree_children_span\"><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/tip-display-an-object-variable-as-a-string\/\">Tip: Display an Object Variable as a String<\/a><\/span><\/div>\n<\/li>\n<li>\n<div class=\"plugin_pagetree_children_content\"><span id=\"childrenspan273191933-1\" class=\"plugin_pagetree_children_span\"><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/tip-convert-a-string-to-a-decimal\/\">Tip: Convert a string to a decimal<\/a><\/span><\/div>\n<\/li>\n<li><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/tip-check-if-the-last-validated-job-from-capture-is-accepted-or-declined\/\">  Tip: Check if the last job validated from Capture is &#8220;Accepted&#8221; or &#8220;Declined&#8221;<\/a><\/li>\n<li>\n<div class=\"plugin_pagetree_children_content\"><span id=\"childrenspan273192033-1\" class=\"plugin_pagetree_children_span\"><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/tip-get-the-status-of-the-last-processed-portal-workflow-task\/\">Tip: Get the status of the last processed Portal workflow task<\/a><\/span><\/div>\n<\/li>\n<li>\n<div class=\"plugin_pagetree_children_content\"><span id=\"childrenspan273192093-1\" class=\"plugin_pagetree_children_span\"><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/tip-retrieving-the-value-of-an-index-from-the-id-and-idunit\/\">Tip: Retrieving the value of an index from the ID and IDUnit<\/a><\/span><\/div>\n<\/li>\n<li>\n<div class=\"plugin_pagetree_children_content\"><span id=\"childrenspan276758911-1\" class=\"plugin_pagetree_children_span\"><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/tips-retrieving-a-value-from-the-folder-or-from-the-third-party-record\/\">Tips: Display the result of a variable JSE_Result or other types<\/a><\/span><\/div>\n<\/li>\n<li class=\"page_item page-item-8358 menu-item\"><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/case-studies\/tricks\/tips-retrieving-a-value-from-the-folder-or-from-the-third-party-record\/\">Tips: Retrieving a value from the folder or from the third-party record<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"plugin_pagetree\">\n<fieldset class=\"hidden\"><input name=\"treeId\" type=\"hidden\" value=\"\"><br \/><input name=\"treeRequestId\" type=\"hidden\" value=\"\/plugins\/pagetree\/naturalchildren.action?decorator=none&amp;excerpt=false&amp;sort=position&amp;reverse=false&amp;disableLinks=false&amp;expandCurrent=false\"><br \/><input name=\"treePageId\" type=\"hidden\" value=\"\"><\/p>\n<p><input name=\"noRoot\" type=\"hidden\" value=\"false\"><br \/><input name=\"rootPageId\" type=\"hidden\" value=\"273192077\"><\/p>\n<p><input name=\"rootPage\" type=\"hidden\" value=\"\"><br \/><input name=\"startDepth\" type=\"hidden\" value=\"0\"><br \/><input name=\"spaceKey\" type=\"hidden\" value=\"DOCOBSCAPTURE\"><\/p>\n<p><input name=\"i18n-pagetree.loading\" type=\"hidden\" value=\"Loading...\"><br \/><input name=\"i18n-pagetree.error.permission\" type=\"hidden\" value=\"Unable to load the page tree. Apparently, you don't have permission to view the root page.\"><br \/><input name=\"i18n-pagetree.eeror.general\" type=\"hidden\" value=\"An issue was detected while retrieving the page tree. Please refer to the server log file for more information.\"><br \/><input name=\"loginUrl\" type=\"hidden\" value=\"\"><br \/><input name=\"mobile\" type=\"hidden\" value=\"false\"><\/p>\n<fieldset class=\"hidden\"><input name=\"ancestorId\" type=\"hidden\" value=\"273192077\"><\/fieldset>\n<\/fieldset>\n<\/div>\n<\/div>\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tip: Display an Object Variable as a String Tip: Convert a string to a decimal Tip: Check if the last job validated from Capture is &#8220;Accepted&#8221; or &#8220;Declined&#8221; Tip: Get the status of the last processed Portal workflow task Tip: Retrieving the value of an index from the ID and IDUnit Tips: Display the result [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":21234,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-21272","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=21272"}],"version-history":[{"count":3,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21272\/revisions"}],"predecessor-version":[{"id":24051,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21272\/revisions\/24051"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21234"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=21272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}