Often times task assignment emails are sent to users with a link to directly open the task form. This can be achieved by following instructions in the following KB article Create Task Link – Sample However one of the things high on the wish list of the users is to have a way of bypassing…
Author: Nishant Shrivastava
Powershell error: There is no Runspace available to run scripts in this thread.
While executing a Poweshell Workflow activity if you see following error Exception: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. —> System.Management.Automation.PSInvalidOperationException: There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted…
Pre-populate data on the initial form based on previous process instance data
In some of the client projects you might run into a requirement where they wish to start a new request but instead of making the user fill in all the data from scratch, they wish to copy over the data from one of the previous request they had submitted. This is often the case when…
AgilePoint NX SAP Integration – How to use end user credentials at runtime
SAP is one system where people do not like to run things under a service account. They want to see transactions being recorded with end user name specially when posting data back to SAP. Most of them are fine when it comes to reading data with service account but not when it comes to posting…
Reusable SharePoint Workflows
One of the topics which comes up is that can I reuse the same workflow against multiple SharePoint site collections or even SharePoint farms. No one would prefer to clone apps for each site collection unless the logic is different. Prior version of AgilePoint had SharePoint access token was scoped at a site collection level which…
Unable to save process model
If you are encountering an issue where you are unable to save changes made to a process model please follow the steps mentioned below. The symptom usually is that after checking out the process and making changes, clicking on save greys the screen like it is attempting to save but it doesn’t save. Finally you might…
Single Sign On for AgilePoint NX OnPremises
A JavaScript based system cannot utilize windows authentication directly in the browser. Windows Authentication is not an option in a client side form technology as you cannot obtain windows users username and password in JavaScript. That is only going to work on server side technology like ASP.Net. Also even for ASP.Net it won’t work on browser…
Restrict workflow activity and form lookup usage to certain users in AgilePoint NX
Sometimes during the client discovery calls, there is a question that they wish to restrict usage of certain workflow activities and workflow lookup to certain designers only based on their permissions. This scenario is already covered in the permission management system of AgilePoint NX. An app designer can see all the shapes but in order…
Read data from excel sheet and populate on eForms
Sometimes the requirement is to have an AgilePoint eForm in which an Excel file can be uploaded. Once uploaded we need to grab the data in the Excel file and populate it to the different fields in the form. There are N number of ways of doing this based on Effort VS Reusability Vs Customer’s willingness…
Barcode control in AgilePoint NX eform
In this article, I would demonstrate how to use a 3rd party barcode generation service and render the returned result back in the form. Though I have used an open source service for the sample app, same concept would work for any of the paid subscription service for barcode generation. Start by creating a form…
Perform a SAP transaction through process model
Transaction plays a very important role in the SAP world and often times you would run into SAP BAPI’s which will not commit data till the transaction has been terminated properly. In this article I am going to cover how to call a SAP BAPI which needs to be part of transaction. Before we begin,…
Execute custom C# Snippet with AgilePoint NX Process
For those of you who are migrating over from AgilePoint NX v 5.x to AgilePoint NX might notice taht the C# snippet workflow activity is missing. C# shape has been knowingly left out of NX as it was seen as big security concern for lot of people as it can be really dangerous if C#…
Creating Salesforce user management process in AgilePoint
Often times clients have a wishlist to automate the Salesforce user on-boarding and off-boarding using a workflow as without that it requires considerable user onboarding efforts on behalf of IT. It is quite simple to automate using AgilePoint NX workflow. In Salesforce, everything is stored just like database. Even user table is an object in Salesforce…
Office 365 Access Token Validation Error
If you are configuring a SharePoint access token to connect to Office 365 and get a validation error, it might be due to various reasons Your SharePoint Site Collection URL is not accessible.from AgilePoint server or user might not have permission to access the site. Check the credentials you have entered If you have Multi…
Why Does an Error Occur When I Upload a Large File in SharePoint?
When a file is being uploaded to SharePoint from AgilePoint NX server, Client-side object model (CSOM) is used. If the file size is more than 2MB, by default it is unable to be uploaded to SharePoint 2013 libraries. The following message is thrown: “The request message is too big. The server does not allow messages larger…
Setting up cache duration of static files and API data in AgilePoint NX
Usually there are 3 kind of files involved in caching The static content like HTML, JavaScript, CSS, Images etc. It is the WebServer (IIS in this case) which decides what will be cache duration and is configurable. AgilePoint REST API Data: There are things like form definition, lookup def, library etc. which are not changing…
Assigning workflow task to user based on his online presence
There are more than 1 ways of achieving task load balancing based on user’s online presence. It needs some logic to be defined which will differ from one client to other and even one workflow to other. Here are few of the driving factors. What system are you going to depend on while detecting that…
How to get Hybrid SharePoint to work with AgilePoint NX
Creating a SharePoint hybrid environment is about leveraging both SharePoint Server OnPremises and Office 365 SharePoint Online to achieve your business goals. A hybrid environment enables enterprise users to be connected from almost anywhere to the resources and content they need. A hybrid solution can help your company get started in the cloud, taking a…
Bypass Multi Factor Authentication in Office 365
This article has been replaced with steps mentioned in a newer blog post on this topic which shows how to work with MFA enabled Office 365. Support Multi Factor Authentication for Office 365 Access Token However if you wish to whitelist based on IP address you can still reference the options mentioned in the following…
Store file on network drive through eForms or Process
If system admin tries to map a drive on AgilePoint NX server machine manually, it will not be usable by AgilePoint NX server as it is not mapped in context of this service. This is where intricacies of Map drive and how it works at O/S level shows up and that is what we are going…